LCOV - code coverage report
Current view: top level - build/protobuf_generated - img.pb.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 466 3738 12.5 %
Date: 2024-12-11 20:54:31 Functions: 92 557 16.5 %

          Line data    Source code
       1             : // Generated by the protocol buffer compiler.  DO NOT EDIT!
       2             : // source: img.proto
       3             : 
       4             : #include "img.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_img_2eproto {
      23             : extern PROTOBUF_INTERNAL_EXPORT_protobuf_img_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Coord2D;
      24             : extern PROTOBUF_INTERNAL_EXPORT_protobuf_img_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Id;
      25             : extern PROTOBUF_INTERNAL_EXPORT_protobuf_img_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_InteractiveMaskOptions;
      26             : }  // namespace protobuf_img_2eproto
      27             : namespace rpc {
      28             : namespace img {
      29             : class IdDefaultTypeInternal {
      30             :  public:
      31             :   ::google::protobuf::internal::ExplicitlyConstructed<Id>
      32             :       _instance;
      33             : } _Id_default_instance_;
      34             : class NewPanelDefaultTypeInternal {
      35             :  public:
      36             :   ::google::protobuf::internal::ExplicitlyConstructed<NewPanel>
      37             :       _instance;
      38             : } _NewPanel_default_instance_;
      39             : class NewDataDefaultTypeInternal {
      40             :  public:
      41             :   ::google::protobuf::internal::ExplicitlyConstructed<NewData>
      42             :       _instance;
      43             : } _NewData_default_instance_;
      44             : class PopUpDefaultTypeInternal {
      45             :  public:
      46             :   ::google::protobuf::internal::ExplicitlyConstructed<PopUp>
      47             :       _instance;
      48             : } _PopUp_default_instance_;
      49             : class RestoreDefaultTypeInternal {
      50             :  public:
      51             :   ::google::protobuf::internal::ExplicitlyConstructed<Restore>
      52             :       _instance;
      53             : } _Restore_default_instance_;
      54             : class FileInfoDefaultTypeInternal {
      55             :  public:
      56             :   ::google::protobuf::internal::ExplicitlyConstructed<FileInfo>
      57             :       _instance;
      58             : } _FileInfo_default_instance_;
      59             : class KeyInfoDefaultTypeInternal {
      60             :  public:
      61             :   ::google::protobuf::internal::ExplicitlyConstructed<KeyInfo>
      62             :       _instance;
      63             : } _KeyInfo_default_instance_;
      64             : class PathDefaultTypeInternal {
      65             :  public:
      66             :   ::google::protobuf::internal::ExplicitlyConstructed<Path>
      67             :       _instance;
      68             : } _Path_default_instance_;
      69             : class Coord2DDefaultTypeInternal {
      70             :  public:
      71             :   ::google::protobuf::internal::ExplicitlyConstructed<Coord2D>
      72             :       _instance;
      73             : } _Coord2D_default_instance_;
      74             : class OutputDefaultTypeInternal {
      75             :  public:
      76             :   ::google::protobuf::internal::ExplicitlyConstructed<Output>
      77             :       _instance;
      78             : } _Output_default_instance_;
      79             : class SetChannelDefaultTypeInternal {
      80             :  public:
      81             :   ::google::protobuf::internal::ExplicitlyConstructed<SetChannel>
      82             :       _instance;
      83             : } _SetChannel_default_instance_;
      84             : class SetZoomLevelDefaultTypeInternal {
      85             :  public:
      86             :   ::google::protobuf::internal::ExplicitlyConstructed<SetZoomLevel>
      87             :       _instance;
      88             : } _SetZoomLevel_default_instance_;
      89             : class SetZoomBoxDefaultTypeInternal {
      90             :  public:
      91             :   ::google::protobuf::internal::ExplicitlyConstructed<SetZoomBox>
      92             :       _instance;
      93             : } _SetZoomBox_default_instance_;
      94             : class DataRangeDefaultTypeInternal {
      95             :  public:
      96             :   ::google::protobuf::internal::ExplicitlyConstructed<DataRange>
      97             :       _instance;
      98             : } _DataRange_default_instance_;
      99             : class ContourLevelsDefaultTypeInternal {
     100             :  public:
     101             :   ::google::protobuf::internal::ExplicitlyConstructed<ContourLevels>
     102             :       _instance;
     103             : } _ContourLevels_default_instance_;
     104             : class ContourThicknessDefaultTypeInternal {
     105             :  public:
     106             :   ::google::protobuf::internal::ExplicitlyConstructed<ContourThickness>
     107             :       _instance;
     108             : } _ContourThickness_default_instance_;
     109             : class ContourColorDefaultTypeInternal {
     110             :  public:
     111             :   ::google::protobuf::internal::ExplicitlyConstructed<ContourColor>
     112             :       _instance;
     113             : } _ContourColor_default_instance_;
     114             : class AxesDefaultTypeInternal {
     115             :  public:
     116             :   ::google::protobuf::internal::ExplicitlyConstructed<Axes>
     117             :       _instance;
     118             : } _Axes_default_instance_;
     119             : class ColorMapDefaultTypeInternal {
     120             :  public:
     121             :   ::google::protobuf::internal::ExplicitlyConstructed<ColorMap>
     122             :       _instance;
     123             : } _ColorMap_default_instance_;
     124             : class ToggleDefaultTypeInternal {
     125             :  public:
     126             :   ::google::protobuf::internal::ExplicitlyConstructed<Toggle>
     127             :       _instance;
     128             : } _Toggle_default_instance_;
     129             : class InteractiveMaskOptionsDefaultTypeInternal {
     130             :  public:
     131             :   ::google::protobuf::internal::ExplicitlyConstructed<InteractiveMaskOptions>
     132             :       _instance;
     133             : } _InteractiveMaskOptions_default_instance_;
     134             : class InteractiveMaskResultDefaultTypeInternal {
     135             :  public:
     136             :   ::google::protobuf::internal::ExplicitlyConstructed<InteractiveMaskResult>
     137             :       _instance;
     138             : } _InteractiveMaskResult_default_instance_;
     139             : }  // namespace img
     140             : }  // namespace rpc
     141             : namespace protobuf_img_2eproto {
     142          11 : static void InitDefaultsId() {
     143          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     144             : 
     145             :   {
     146          11 :     void* ptr = &::rpc::img::_Id_default_instance_;
     147          11 :     new (ptr) ::rpc::img::Id();
     148          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     149             :   }
     150          11 :   ::rpc::img::Id::InitAsDefaultInstance();
     151          11 : }
     152             : 
     153             : ::google::protobuf::internal::SCCInfo<0> scc_info_Id =
     154             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsId}, {}};
     155             : 
     156          11 : static void InitDefaultsNewPanel() {
     157          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     158             : 
     159             :   {
     160          11 :     void* ptr = &::rpc::img::_NewPanel_default_instance_;
     161          11 :     new (ptr) ::rpc::img::NewPanel();
     162          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     163             :   }
     164          11 :   ::rpc::img::NewPanel::InitAsDefaultInstance();
     165          11 : }
     166             : 
     167             : ::google::protobuf::internal::SCCInfo<0> scc_info_NewPanel =
     168             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNewPanel}, {}};
     169             : 
     170          11 : static void InitDefaultsNewData() {
     171          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     172             : 
     173             :   {
     174          11 :     void* ptr = &::rpc::img::_NewData_default_instance_;
     175          11 :     new (ptr) ::rpc::img::NewData();
     176          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     177             :   }
     178          11 :   ::rpc::img::NewData::InitAsDefaultInstance();
     179          11 : }
     180             : 
     181             : ::google::protobuf::internal::SCCInfo<1> scc_info_NewData =
     182             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNewData}, {
     183             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     184             : 
     185          11 : static void InitDefaultsPopUp() {
     186          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     187             : 
     188             :   {
     189          11 :     void* ptr = &::rpc::img::_PopUp_default_instance_;
     190          11 :     new (ptr) ::rpc::img::PopUp();
     191          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     192             :   }
     193          11 :   ::rpc::img::PopUp::InitAsDefaultInstance();
     194          11 : }
     195             : 
     196             : ::google::protobuf::internal::SCCInfo<1> scc_info_PopUp =
     197             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPopUp}, {
     198             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     199             : 
     200          11 : static void InitDefaultsRestore() {
     201          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     202             : 
     203             :   {
     204          11 :     void* ptr = &::rpc::img::_Restore_default_instance_;
     205          11 :     new (ptr) ::rpc::img::Restore();
     206          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     207             :   }
     208          11 :   ::rpc::img::Restore::InitAsDefaultInstance();
     209          11 : }
     210             : 
     211             : ::google::protobuf::internal::SCCInfo<1> scc_info_Restore =
     212             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRestore}, {
     213             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     214             : 
     215          11 : static void InitDefaultsFileInfo() {
     216          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     217             : 
     218             :   {
     219          11 :     void* ptr = &::rpc::img::_FileInfo_default_instance_;
     220          11 :     new (ptr) ::rpc::img::FileInfo();
     221          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     222             :   }
     223          11 :   ::rpc::img::FileInfo::InitAsDefaultInstance();
     224          11 : }
     225             : 
     226             : ::google::protobuf::internal::SCCInfo<0> scc_info_FileInfo =
     227             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFileInfo}, {}};
     228             : 
     229          11 : static void InitDefaultsKeyInfo() {
     230          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     231             : 
     232             :   {
     233          11 :     void* ptr = &::rpc::img::_KeyInfo_default_instance_;
     234          11 :     new (ptr) ::rpc::img::KeyInfo();
     235          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     236             :   }
     237          11 :   ::rpc::img::KeyInfo::InitAsDefaultInstance();
     238          11 : }
     239             : 
     240             : ::google::protobuf::internal::SCCInfo<0> scc_info_KeyInfo =
     241             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsKeyInfo}, {}};
     242             : 
     243          11 : static void InitDefaultsPath() {
     244          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     245             : 
     246             :   {
     247          11 :     void* ptr = &::rpc::img::_Path_default_instance_;
     248          11 :     new (ptr) ::rpc::img::Path();
     249          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     250             :   }
     251          11 :   ::rpc::img::Path::InitAsDefaultInstance();
     252          11 : }
     253             : 
     254             : ::google::protobuf::internal::SCCInfo<0> scc_info_Path =
     255             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPath}, {}};
     256             : 
     257          11 : static void InitDefaultsCoord2D() {
     258          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     259             : 
     260             :   {
     261          11 :     void* ptr = &::rpc::img::_Coord2D_default_instance_;
     262          11 :     new (ptr) ::rpc::img::Coord2D();
     263          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     264             :   }
     265          11 :   ::rpc::img::Coord2D::InitAsDefaultInstance();
     266          11 : }
     267             : 
     268             : ::google::protobuf::internal::SCCInfo<0> scc_info_Coord2D =
     269             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCoord2D}, {}};
     270             : 
     271          11 : static void InitDefaultsOutput() {
     272          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     273             : 
     274             :   {
     275          11 :     void* ptr = &::rpc::img::_Output_default_instance_;
     276          11 :     new (ptr) ::rpc::img::Output();
     277          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     278             :   }
     279          11 :   ::rpc::img::Output::InitAsDefaultInstance();
     280          11 : }
     281             : 
     282             : ::google::protobuf::internal::SCCInfo<1> scc_info_Output =
     283             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsOutput}, {
     284             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     285             : 
     286          11 : static void InitDefaultsSetChannel() {
     287          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     288             : 
     289             :   {
     290          11 :     void* ptr = &::rpc::img::_SetChannel_default_instance_;
     291          11 :     new (ptr) ::rpc::img::SetChannel();
     292          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     293             :   }
     294          11 :   ::rpc::img::SetChannel::InitAsDefaultInstance();
     295          11 : }
     296             : 
     297             : ::google::protobuf::internal::SCCInfo<1> scc_info_SetChannel =
     298             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSetChannel}, {
     299             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     300             : 
     301          11 : static void InitDefaultsSetZoomLevel() {
     302          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     303             : 
     304             :   {
     305          11 :     void* ptr = &::rpc::img::_SetZoomLevel_default_instance_;
     306          11 :     new (ptr) ::rpc::img::SetZoomLevel();
     307          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     308             :   }
     309          11 :   ::rpc::img::SetZoomLevel::InitAsDefaultInstance();
     310          11 : }
     311             : 
     312             : ::google::protobuf::internal::SCCInfo<1> scc_info_SetZoomLevel =
     313             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSetZoomLevel}, {
     314             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     315             : 
     316          11 : static void InitDefaultsSetZoomBox() {
     317          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     318             : 
     319             :   {
     320          11 :     void* ptr = &::rpc::img::_SetZoomBox_default_instance_;
     321          11 :     new (ptr) ::rpc::img::SetZoomBox();
     322          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     323             :   }
     324          11 :   ::rpc::img::SetZoomBox::InitAsDefaultInstance();
     325          11 : }
     326             : 
     327             : ::google::protobuf::internal::SCCInfo<2> scc_info_SetZoomBox =
     328             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSetZoomBox}, {
     329             :       &protobuf_img_2eproto::scc_info_Id.base,
     330             :       &protobuf_img_2eproto::scc_info_Coord2D.base,}};
     331             : 
     332          11 : static void InitDefaultsDataRange() {
     333          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     334             : 
     335             :   {
     336          11 :     void* ptr = &::rpc::img::_DataRange_default_instance_;
     337          11 :     new (ptr) ::rpc::img::DataRange();
     338          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     339             :   }
     340          11 :   ::rpc::img::DataRange::InitAsDefaultInstance();
     341          11 : }
     342             : 
     343             : ::google::protobuf::internal::SCCInfo<1> scc_info_DataRange =
     344             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDataRange}, {
     345             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     346             : 
     347          11 : static void InitDefaultsContourLevels() {
     348          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     349             : 
     350             :   {
     351          11 :     void* ptr = &::rpc::img::_ContourLevels_default_instance_;
     352          11 :     new (ptr) ::rpc::img::ContourLevels();
     353          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     354             :   }
     355          11 :   ::rpc::img::ContourLevels::InitAsDefaultInstance();
     356          11 : }
     357             : 
     358             : ::google::protobuf::internal::SCCInfo<1> scc_info_ContourLevels =
     359             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsContourLevels}, {
     360             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     361             : 
     362          11 : static void InitDefaultsContourThickness() {
     363          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     364             : 
     365             :   {
     366          11 :     void* ptr = &::rpc::img::_ContourThickness_default_instance_;
     367          11 :     new (ptr) ::rpc::img::ContourThickness();
     368          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     369             :   }
     370          11 :   ::rpc::img::ContourThickness::InitAsDefaultInstance();
     371          11 : }
     372             : 
     373             : ::google::protobuf::internal::SCCInfo<1> scc_info_ContourThickness =
     374             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsContourThickness}, {
     375             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     376             : 
     377          11 : static void InitDefaultsContourColor() {
     378          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     379             : 
     380             :   {
     381          11 :     void* ptr = &::rpc::img::_ContourColor_default_instance_;
     382          11 :     new (ptr) ::rpc::img::ContourColor();
     383          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     384             :   }
     385          11 :   ::rpc::img::ContourColor::InitAsDefaultInstance();
     386          11 : }
     387             : 
     388             : ::google::protobuf::internal::SCCInfo<1> scc_info_ContourColor =
     389             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsContourColor}, {
     390             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     391             : 
     392          11 : static void InitDefaultsAxes() {
     393          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     394             : 
     395             :   {
     396          11 :     void* ptr = &::rpc::img::_Axes_default_instance_;
     397          11 :     new (ptr) ::rpc::img::Axes();
     398          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     399             :   }
     400          11 :   ::rpc::img::Axes::InitAsDefaultInstance();
     401          11 : }
     402             : 
     403             : ::google::protobuf::internal::SCCInfo<1> scc_info_Axes =
     404             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAxes}, {
     405             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     406             : 
     407          11 : static void InitDefaultsColorMap() {
     408          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     409             : 
     410             :   {
     411          11 :     void* ptr = &::rpc::img::_ColorMap_default_instance_;
     412          11 :     new (ptr) ::rpc::img::ColorMap();
     413          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     414             :   }
     415          11 :   ::rpc::img::ColorMap::InitAsDefaultInstance();
     416          11 : }
     417             : 
     418             : ::google::protobuf::internal::SCCInfo<1> scc_info_ColorMap =
     419             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsColorMap}, {
     420             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     421             : 
     422          11 : static void InitDefaultsToggle() {
     423          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     424             : 
     425             :   {
     426          11 :     void* ptr = &::rpc::img::_Toggle_default_instance_;
     427          11 :     new (ptr) ::rpc::img::Toggle();
     428          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     429             :   }
     430          11 :   ::rpc::img::Toggle::InitAsDefaultInstance();
     431          11 : }
     432             : 
     433             : ::google::protobuf::internal::SCCInfo<1> scc_info_Toggle =
     434             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsToggle}, {
     435             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     436             : 
     437          11 : static void InitDefaultsInteractiveMaskOptions() {
     438          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     439             : 
     440             :   {
     441          11 :     void* ptr = &::rpc::img::_InteractiveMaskOptions_default_instance_;
     442          11 :     new (ptr) ::rpc::img::InteractiveMaskOptions();
     443          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     444             :   }
     445          11 :   ::rpc::img::InteractiveMaskOptions::InitAsDefaultInstance();
     446          11 : }
     447             : 
     448             : ::google::protobuf::internal::SCCInfo<1> scc_info_InteractiveMaskOptions =
     449             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsInteractiveMaskOptions}, {
     450             :       &protobuf_img_2eproto::scc_info_Id.base,}};
     451             : 
     452          11 : static void InitDefaultsInteractiveMaskResult() {
     453          11 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     454             : 
     455             :   {
     456          11 :     void* ptr = &::rpc::img::_InteractiveMaskResult_default_instance_;
     457          11 :     new (ptr) ::rpc::img::InteractiveMaskResult();
     458          11 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     459             :   }
     460          11 :   ::rpc::img::InteractiveMaskResult::InitAsDefaultInstance();
     461          11 : }
     462             : 
     463             : ::google::protobuf::internal::SCCInfo<1> scc_info_InteractiveMaskResult =
     464             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsInteractiveMaskResult}, {
     465             :       &protobuf_img_2eproto::scc_info_InteractiveMaskOptions.base,}};
     466             : 
     467          11 : void InitDefaults() {
     468          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Id.base);
     469          11 :   ::google::protobuf::internal::InitSCC(&scc_info_NewPanel.base);
     470          11 :   ::google::protobuf::internal::InitSCC(&scc_info_NewData.base);
     471          11 :   ::google::protobuf::internal::InitSCC(&scc_info_PopUp.base);
     472          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Restore.base);
     473          11 :   ::google::protobuf::internal::InitSCC(&scc_info_FileInfo.base);
     474          11 :   ::google::protobuf::internal::InitSCC(&scc_info_KeyInfo.base);
     475          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Path.base);
     476          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Coord2D.base);
     477          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Output.base);
     478          11 :   ::google::protobuf::internal::InitSCC(&scc_info_SetChannel.base);
     479          11 :   ::google::protobuf::internal::InitSCC(&scc_info_SetZoomLevel.base);
     480          11 :   ::google::protobuf::internal::InitSCC(&scc_info_SetZoomBox.base);
     481          11 :   ::google::protobuf::internal::InitSCC(&scc_info_DataRange.base);
     482          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ContourLevels.base);
     483          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ContourThickness.base);
     484          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ContourColor.base);
     485          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Axes.base);
     486          11 :   ::google::protobuf::internal::InitSCC(&scc_info_ColorMap.base);
     487          11 :   ::google::protobuf::internal::InitSCC(&scc_info_Toggle.base);
     488          11 :   ::google::protobuf::internal::InitSCC(&scc_info_InteractiveMaskOptions.base);
     489          11 :   ::google::protobuf::internal::InitSCC(&scc_info_InteractiveMaskResult.base);
     490          11 : }
     491             : 
     492             : ::google::protobuf::Metadata file_level_metadata[22];
     493             : 
     494             : const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     495             :   ~0u,  // no _has_bits_
     496             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Id, _internal_metadata_),
     497             :   ~0u,  // no _extensions_
     498             :   ~0u,  // no _oneof_case_
     499             :   ~0u,  // no _weak_field_map_
     500             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Id, id_),
     501             :   ~0u,  // no _has_bits_
     502             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewPanel, _internal_metadata_),
     503             :   ~0u,  // no _extensions_
     504             :   ~0u,  // no _oneof_case_
     505             :   ~0u,  // no _weak_field_map_
     506             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewPanel, type_),
     507             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewPanel, hidden_),
     508             :   ~0u,  // no _has_bits_
     509             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewData, _internal_metadata_),
     510             :   ~0u,  // no _extensions_
     511             :   ~0u,  // no _oneof_case_
     512             :   ~0u,  // no _weak_field_map_
     513             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewData, panel_),
     514             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewData, path_),
     515             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewData, type_),
     516             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::NewData, scale_),
     517             :   ~0u,  // no _has_bits_
     518             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::PopUp, _internal_metadata_),
     519             :   ~0u,  // no _extensions_
     520             :   ~0u,  // no _oneof_case_
     521             :   ~0u,  // no _weak_field_map_
     522             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::PopUp, panel_),
     523             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::PopUp, name_),
     524             :   ~0u,  // no _has_bits_
     525             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Restore, _internal_metadata_),
     526             :   ~0u,  // no _extensions_
     527             :   ~0u,  // no _oneof_case_
     528             :   ~0u,  // no _weak_field_map_
     529             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Restore, panel_),
     530             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Restore, path_),
     531             :   ~0u,  // no _has_bits_
     532             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::FileInfo, _internal_metadata_),
     533             :   ~0u,  // no _extensions_
     534             :   ~0u,  // no _oneof_case_
     535             :   ~0u,  // no _weak_field_map_
     536             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::FileInfo, type_),
     537             :   ~0u,  // no _has_bits_
     538             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::KeyInfo, _internal_metadata_),
     539             :   ~0u,  // no _extensions_
     540             :   ~0u,  // no _oneof_case_
     541             :   ~0u,  // no _weak_field_map_
     542             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::KeyInfo, type_),
     543             :   ~0u,  // no _has_bits_
     544             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Path, _internal_metadata_),
     545             :   ~0u,  // no _extensions_
     546             :   ~0u,  // no _oneof_case_
     547             :   ~0u,  // no _weak_field_map_
     548             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Path, path_),
     549             :   ~0u,  // no _has_bits_
     550             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Coord2D, _internal_metadata_),
     551             :   ~0u,  // no _extensions_
     552             :   ~0u,  // no _oneof_case_
     553             :   ~0u,  // no _weak_field_map_
     554             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Coord2D, x_),
     555             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Coord2D, y_),
     556             :   ~0u,  // no _has_bits_
     557             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, _internal_metadata_),
     558             :   ~0u,  // no _extensions_
     559             :   ~0u,  // no _oneof_case_
     560             :   ~0u,  // no _weak_field_map_
     561             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, panel_),
     562             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, device_),
     563             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, devicetype_),
     564             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, orientation_),
     565             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, media_),
     566             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, format_),
     567             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, scale_),
     568             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Output, dpi_),
     569             :   ~0u,  // no _has_bits_
     570             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetChannel, _internal_metadata_),
     571             :   ~0u,  // no _extensions_
     572             :   ~0u,  // no _oneof_case_
     573             :   ~0u,  // no _weak_field_map_
     574             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetChannel, panel_),
     575             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetChannel, number_),
     576             :   ~0u,  // no _has_bits_
     577             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomLevel, _internal_metadata_),
     578             :   ~0u,  // no _extensions_
     579             :   ~0u,  // no _oneof_case_
     580             :   ~0u,  // no _weak_field_map_
     581             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomLevel, panel_),
     582             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomLevel, level_),
     583             :   ~0u,  // no _has_bits_
     584             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomBox, _internal_metadata_),
     585             :   ~0u,  // no _extensions_
     586             :   ~0u,  // no _oneof_case_
     587             :   ~0u,  // no _weak_field_map_
     588             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomBox, panel_),
     589             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomBox, blc_),
     590             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomBox, trc_),
     591             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::SetZoomBox, coord_type_),
     592             :   ~0u,  // no _has_bits_
     593             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::DataRange, _internal_metadata_),
     594             :   ~0u,  // no _extensions_
     595             :   ~0u,  // no _oneof_case_
     596             :   ~0u,  // no _weak_field_map_
     597             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::DataRange, data_),
     598             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::DataRange, min_),
     599             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::DataRange, max_),
     600             :   ~0u,  // no _has_bits_
     601             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourLevels, _internal_metadata_),
     602             :   ~0u,  // no _extensions_
     603             :   ~0u,  // no _oneof_case_
     604             :   ~0u,  // no _weak_field_map_
     605             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourLevels, id_),
     606             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourLevels, levels_),
     607             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourLevels, baselevel_),
     608             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourLevels, unitlevel_),
     609             :   ~0u,  // no _has_bits_
     610             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourThickness, _internal_metadata_),
     611             :   ~0u,  // no _extensions_
     612             :   ~0u,  // no _oneof_case_
     613             :   ~0u,  // no _weak_field_map_
     614             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourThickness, id_),
     615             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourThickness, thickness_),
     616             :   ~0u,  // no _has_bits_
     617             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourColor, _internal_metadata_),
     618             :   ~0u,  // no _extensions_
     619             :   ~0u,  // no _oneof_case_
     620             :   ~0u,  // no _weak_field_map_
     621             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourColor, id_),
     622             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ContourColor, color_),
     623             :   ~0u,  // no _has_bits_
     624             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Axes, _internal_metadata_),
     625             :   ~0u,  // no _extensions_
     626             :   ~0u,  // no _oneof_case_
     627             :   ~0u,  // no _weak_field_map_
     628             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Axes, panel_),
     629             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Axes, x_),
     630             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Axes, y_),
     631             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Axes, z_),
     632             :   ~0u,  // no _has_bits_
     633             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ColorMap, _internal_metadata_),
     634             :   ~0u,  // no _extensions_
     635             :   ~0u,  // no _oneof_case_
     636             :   ~0u,  // no _weak_field_map_
     637             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ColorMap, id_),
     638             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::ColorMap, map_),
     639             :   ~0u,  // no _has_bits_
     640             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Toggle, _internal_metadata_),
     641             :   ~0u,  // no _extensions_
     642             :   ~0u,  // no _oneof_case_
     643             :   ~0u,  // no _weak_field_map_
     644             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Toggle, id_),
     645             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::Toggle, state_),
     646             :   ~0u,  // no _has_bits_
     647             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskOptions, _internal_metadata_),
     648             :   ~0u,  // no _extensions_
     649             :   ~0u,  // no _oneof_case_
     650             :   ~0u,  // no _weak_field_map_
     651             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskOptions, panel_),
     652             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskOptions, niter_),
     653             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskOptions, cycleniter_),
     654             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskOptions, threshold_),
     655             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskOptions, cyclethreshold_),
     656             :   ~0u,  // no _has_bits_
     657             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskResult, _internal_metadata_),
     658             :   ~0u,  // no _extensions_
     659             :   ~0u,  // no _oneof_case_
     660             :   ~0u,  // no _weak_field_map_
     661             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskResult, action_),
     662             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::img::InteractiveMaskResult, state_),
     663             : };
     664             : static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     665             :   { 0, -1, sizeof(::rpc::img::Id)},
     666             :   { 6, -1, sizeof(::rpc::img::NewPanel)},
     667             :   { 13, -1, sizeof(::rpc::img::NewData)},
     668             :   { 22, -1, sizeof(::rpc::img::PopUp)},
     669             :   { 29, -1, sizeof(::rpc::img::Restore)},
     670             :   { 36, -1, sizeof(::rpc::img::FileInfo)},
     671             :   { 42, -1, sizeof(::rpc::img::KeyInfo)},
     672             :   { 48, -1, sizeof(::rpc::img::Path)},
     673             :   { 54, -1, sizeof(::rpc::img::Coord2D)},
     674             :   { 61, -1, sizeof(::rpc::img::Output)},
     675             :   { 74, -1, sizeof(::rpc::img::SetChannel)},
     676             :   { 81, -1, sizeof(::rpc::img::SetZoomLevel)},
     677             :   { 88, -1, sizeof(::rpc::img::SetZoomBox)},
     678             :   { 97, -1, sizeof(::rpc::img::DataRange)},
     679             :   { 105, -1, sizeof(::rpc::img::ContourLevels)},
     680             :   { 114, -1, sizeof(::rpc::img::ContourThickness)},
     681             :   { 121, -1, sizeof(::rpc::img::ContourColor)},
     682             :   { 128, -1, sizeof(::rpc::img::Axes)},
     683             :   { 137, -1, sizeof(::rpc::img::ColorMap)},
     684             :   { 144, -1, sizeof(::rpc::img::Toggle)},
     685             :   { 151, -1, sizeof(::rpc::img::InteractiveMaskOptions)},
     686             :   { 161, -1, sizeof(::rpc::img::InteractiveMaskResult)},
     687             : };
     688             : 
     689             : static ::google::protobuf::Message const * const file_default_instances[] = {
     690             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Id_default_instance_),
     691             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_NewPanel_default_instance_),
     692             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_NewData_default_instance_),
     693             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_PopUp_default_instance_),
     694             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Restore_default_instance_),
     695             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_FileInfo_default_instance_),
     696             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_KeyInfo_default_instance_),
     697             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Path_default_instance_),
     698             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Coord2D_default_instance_),
     699             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Output_default_instance_),
     700             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_SetChannel_default_instance_),
     701             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_SetZoomLevel_default_instance_),
     702             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_SetZoomBox_default_instance_),
     703             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_DataRange_default_instance_),
     704             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_ContourLevels_default_instance_),
     705             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_ContourThickness_default_instance_),
     706             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_ContourColor_default_instance_),
     707             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Axes_default_instance_),
     708             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_ColorMap_default_instance_),
     709             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_Toggle_default_instance_),
     710             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_InteractiveMaskOptions_default_instance_),
     711             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::img::_InteractiveMaskResult_default_instance_),
     712             : };
     713             : 
     714           0 : void protobuf_AssignDescriptors() {
     715           0 :   AddDescriptors();
     716           0 :   AssignDescriptors(
     717             :       "img.proto", schemas, file_default_instances, TableStruct::offsets,
     718             :       file_level_metadata, NULL, NULL);
     719           0 : }
     720             : 
     721           0 : void protobuf_AssignDescriptorsOnce() {
     722             :   static ::google::protobuf::internal::once_flag once;
     723           0 :   ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
     724           0 : }
     725             : 
     726             : void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
     727           0 : void protobuf_RegisterTypes(const ::std::string&) {
     728           0 :   protobuf_AssignDescriptorsOnce();
     729           0 :   ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 22);
     730           0 : }
     731             : 
     732          11 : void AddDescriptorsImpl() {
     733          11 :   InitDefaults();
     734             :   static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     735             :       "\n\timg.proto\022\007rpc.img\032\033google/protobuf/em"
     736             :       "pty.proto\032\036google/protobuf/wrappers.prot"
     737             :       "o\"\020\n\002Id\022\n\n\002id\030\001 \001(\005\"(\n\010NewPanel\022\014\n\004type\030"
     738             :       "\001 \001(\t\022\016\n\006hidden\030\002 \001(\010\"P\n\007NewData\022\032\n\005pane"
     739             :       "l\030\001 \001(\0132\013.rpc.img.Id\022\014\n\004path\030\002 \001(\t\022\014\n\004ty"
     740             :       "pe\030\003 \001(\t\022\r\n\005scale\030\004 \001(\002\"1\n\005PopUp\022\032\n\005pane"
     741             :       "l\030\001 \001(\0132\013.rpc.img.Id\022\014\n\004name\030\002 \001(\t\"3\n\007Re"
     742             :       "store\022\032\n\005panel\030\001 \001(\0132\013.rpc.img.Id\022\014\n\004pat"
     743             :       "h\030\002 \001(\t\"\030\n\010FileInfo\022\014\n\004type\030\001 \001(\t\"\027\n\007Key"
     744             :       "Info\022\014\n\004type\030\001 \001(\t\"\024\n\004Path\022\014\n\004path\030\001 \001(\t"
     745             :       "\"\037\n\007Coord2D\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\230\001\n\006Ou"
     746             :       "tput\022\032\n\005panel\030\001 \001(\0132\013.rpc.img.Id\022\016\n\006devi"
     747             :       "ce\030\002 \001(\t\022\022\n\ndevicetype\030\003 \001(\t\022\023\n\013orientat"
     748             :       "ion\030\004 \001(\t\022\r\n\005media\030\005 \001(\t\022\016\n\006format\030\006 \001(\t"
     749             :       "\022\r\n\005scale\030\007 \001(\002\022\013\n\003dpi\030\010 \001(\005\"8\n\nSetChann"
     750             :       "el\022\032\n\005panel\030\001 \001(\0132\013.rpc.img.Id\022\016\n\006number"
     751             :       "\030\002 \001(\005\"9\n\014SetZoomLevel\022\032\n\005panel\030\001 \001(\0132\013."
     752             :       "rpc.img.Id\022\r\n\005level\030\002 \001(\005\"z\n\nSetZoomBox\022"
     753             :       "\032\n\005panel\030\001 \001(\0132\013.rpc.img.Id\022\035\n\003blc\030\002 \001(\013"
     754             :       "2\020.rpc.img.Coord2D\022\035\n\003trc\030\003 \001(\0132\020.rpc.im"
     755             :       "g.Coord2D\022\022\n\ncoord_type\030\004 \001(\t\"@\n\tDataRan"
     756             :       "ge\022\031\n\004data\030\001 \001(\0132\013.rpc.img.Id\022\013\n\003min\030\002 \001"
     757             :       "(\002\022\013\n\003max\030\003 \001(\002\"^\n\rContourLevels\022\027\n\002id\030\001"
     758             :       " \001(\0132\013.rpc.img.Id\022\016\n\006levels\030\002 \003(\002\022\021\n\tbas"
     759             :       "elevel\030\003 \001(\002\022\021\n\tunitlevel\030\004 \001(\002\">\n\020Conto"
     760             :       "urThickness\022\027\n\002id\030\001 \001(\0132\013.rpc.img.Id\022\021\n\t"
     761             :       "thickness\030\002 \001(\002\"6\n\014ContourColor\022\027\n\002id\030\001 "
     762             :       "\001(\0132\013.rpc.img.Id\022\r\n\005color\030\002 \001(\t\"C\n\004Axes\022"
     763             :       "\032\n\005panel\030\001 \001(\0132\013.rpc.img.Id\022\t\n\001x\030\002 \001(\t\022\t"
     764             :       "\n\001y\030\003 \001(\t\022\t\n\001z\030\004 \001(\t\"0\n\010ColorMap\022\027\n\002id\030\001"
     765             :       " \001(\0132\013.rpc.img.Id\022\013\n\003map\030\002 \001(\t\"0\n\006Toggle"
     766             :       "\022\027\n\002id\030\001 \001(\0132\013.rpc.img.Id\022\r\n\005state\030\002 \001(\010"
     767             :       "\"\202\001\n\026InteractiveMaskOptions\022\032\n\005panel\030\001 \001"
     768             :       "(\0132\013.rpc.img.Id\022\r\n\005niter\030\002 \001(\005\022\022\n\ncyclen"
     769             :       "iter\030\003 \001(\005\022\021\n\tthreshold\030\004 \001(\t\022\026\n\016cycleth"
     770             :       "reshold\030\005 \001(\t\"W\n\025InteractiveMaskResult\022\016"
     771             :       "\n\006action\030\001 \001(\t\022.\n\005state\030\002 \001(\0132\037.rpc.img."
     772             :       "InteractiveMaskOptions2\254\013\n\004view\022\'\n\005panel"
     773             :       "\022\021.rpc.img.NewPanel\032\013.rpc.img.Id\022+\n\004hide"
     774             :       "\022\013.rpc.img.Id\032\026.google.protobuf.Empty\022+\n"
     775             :       "\004show\022\013.rpc.img.Id\032\026.google.protobuf.Emp"
     776             :       "ty\022-\n\006freeze\022\013.rpc.img.Id\032\026.google.proto"
     777             :       "buf.Empty\022/\n\010unfreeze\022\013.rpc.img.Id\032\026.goo"
     778             :       "gle.protobuf.Empty\022,\n\005close\022\013.rpc.img.Id"
     779             :       "\032\026.google.protobuf.Empty\022.\n\007release\022\013.rp"
     780             :       "c.img.Id\032\026.google.protobuf.Empty\022-\n\004axes"
     781             :       "\022\r.rpc.img.Axes\032\026.google.protobuf.Empty\022"
     782             :       "/\n\005popup\022\016.rpc.img.PopUp\032\026.google.protob"
     783             :       "uf.Empty\022%\n\004load\022\020.rpc.img.NewData\032\013.rpc"
     784             :       ".img.Id\022-\n\006reload\022\013.rpc.img.Id\032\026.google."
     785             :       "protobuf.Empty\022-\n\006unload\022\013.rpc.img.Id\032\026."
     786             :       "google.protobuf.Empty\022(\n\007restore\022\020.rpc.i"
     787             :       "mg.Restore\032\013.rpc.img.Id\0225\n\010colormap\022\021.rp"
     788             :       "c.img.ColorMap\032\026.google.protobuf.Empty\0225"
     789             :       "\n\ncolorwedge\022\017.rpc.img.Toggle\032\026.google.p"
     790             :       "rotobuf.Empty\0227\n\tdatarange\022\022.rpc.img.Dat"
     791             :       "aRange\032\026.google.protobuf.Empty\022\?\n\rcontou"
     792             :       "rlevels\022\026.rpc.img.ContourLevels\032\026.google"
     793             :       ".protobuf.Empty\022E\n\020contourthickness\022\031.rp"
     794             :       "c.img.ContourThickness\032\026.google.protobuf"
     795             :       ".Empty\022=\n\014contourcolor\022\025.rpc.img.Contour"
     796             :       "Color\032\026.google.protobuf.Empty\0226\n\007channel"
     797             :       "\022\023.rpc.img.SetChannel\032\026.google.protobuf."
     798             :       "Empty\022:\n\tzoomlevel\022\025.rpc.img.SetZoomLeve"
     799             :       "l\032\026.google.protobuf.Empty\0226\n\007zoombox\022\023.r"
     800             :       "pc.img.SetZoomBox\032\026.google.protobuf.Empt"
     801             :       "y\0221\n\006output\022\017.rpc.img.Output\032\026.google.pr"
     802             :       "otobuf.Empty\022,\n\010fileinfo\022\r.rpc.img.Path\032"
     803             :       "\021.rpc.img.FileInfo\022(\n\007keyinfo\022\013.rpc.img."
     804             :       "Id\032\020.rpc.img.KeyInfo\022#\n\003cwd\022\r.rpc.img.Pa"
     805             :       "th\032\r.rpc.img.Path\0226\n\004done\022\026.google.proto"
     806             :       "buf.Empty\032\026.google.protobuf.Empty\022R\n\017int"
     807             :       "eractivemask\022\037.rpc.img.InteractiveMaskOp"
     808             :       "tions\032\036.rpc.img.InteractiveMaskResultb\006p"
     809             :       "roto3"
     810             :   };
     811          11 :   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
     812             :       descriptor, 2965);
     813          11 :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
     814             :     "img.proto", &protobuf_RegisterTypes);
     815          11 :   ::protobuf_google_2fprotobuf_2fempty_2eproto::AddDescriptors();
     816          11 :   ::protobuf_google_2fprotobuf_2fwrappers_2eproto::AddDescriptors();
     817          11 : }
     818             : 
     819          11 : void AddDescriptors() {
     820             :   static ::google::protobuf::internal::once_flag once;
     821          11 :   ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
     822          11 : }
     823             : // Force AddDescriptors() to be called at dynamic initialization time.
     824             : struct StaticDescriptorInitializer {
     825          11 :   StaticDescriptorInitializer() {
     826          11 :     AddDescriptors();
     827          11 :   }
     828             : } static_descriptor_initializer;
     829             : }  // namespace protobuf_img_2eproto
     830             : namespace rpc {
     831             : namespace img {
     832             : 
     833             : // ===================================================================
     834             : 
     835          11 : void Id::InitAsDefaultInstance() {
     836          11 : }
     837             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     838             : const int Id::kIdFieldNumber;
     839             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     840             : 
     841          11 : Id::Id()
     842          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     843          11 :   ::google::protobuf::internal::InitSCC(
     844             :       &protobuf_img_2eproto::scc_info_Id.base);
     845          11 :   SharedCtor();
     846             :   // @@protoc_insertion_point(constructor:rpc.img.Id)
     847          11 : }
     848           0 : Id::Id(const Id& from)
     849             :   : ::google::protobuf::Message(),
     850           0 :       _internal_metadata_(NULL) {
     851           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     852           0 :   id_ = from.id_;
     853             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Id)
     854           0 : }
     855             : 
     856          11 : void Id::SharedCtor() {
     857          11 :   id_ = 0;
     858          11 : }
     859             : 
     860           0 : Id::~Id() {
     861             :   // @@protoc_insertion_point(destructor:rpc.img.Id)
     862           0 :   SharedDtor();
     863           0 : }
     864             : 
     865           0 : void Id::SharedDtor() {
     866           0 : }
     867             : 
     868           0 : void Id::SetCachedSize(int size) const {
     869           0 :   _cached_size_.Set(size);
     870           0 : }
     871           0 : const ::google::protobuf::Descriptor* Id::descriptor() {
     872           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
     873           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     874             : }
     875             : 
     876           0 : const Id& Id::default_instance() {
     877           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Id.base);
     878           0 :   return *internal_default_instance();
     879             : }
     880             : 
     881             : 
     882           0 : void Id::Clear() {
     883             : // @@protoc_insertion_point(message_clear_start:rpc.img.Id)
     884           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     885             :   // Prevent compiler warnings about cached_has_bits being unused
     886             :   (void) cached_has_bits;
     887             : 
     888           0 :   id_ = 0;
     889           0 :   _internal_metadata_.Clear();
     890           0 : }
     891             : 
     892           0 : bool Id::MergePartialFromCodedStream(
     893             :     ::google::protobuf::io::CodedInputStream* input) {
     894             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
     895             :   ::google::protobuf::uint32 tag;
     896             :   // @@protoc_insertion_point(parse_start:rpc.img.Id)
     897             :   for (;;) {
     898             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
     899           0 :     tag = p.first;
     900           0 :     if (!p.second) goto handle_unusual;
     901           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     902             :       // int32 id = 1;
     903           0 :       case 1: {
     904           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     905             :             static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
     906             : 
     907           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     908             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
     909             :                  input, &id_)));
     910             :         } else {
     911           0 :           goto handle_unusual;
     912             :         }
     913           0 :         break;
     914             :       }
     915             : 
     916             :       default: {
     917           0 :       handle_unusual:
     918           0 :         if (tag == 0) {
     919           0 :           goto success;
     920             :         }
     921           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
     922             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
     923           0 :         break;
     924             :       }
     925             :     }
     926           0 :   }
     927           0 : success:
     928             :   // @@protoc_insertion_point(parse_success:rpc.img.Id)
     929           0 :   return true;
     930           0 : failure:
     931             :   // @@protoc_insertion_point(parse_failure:rpc.img.Id)
     932           0 :   return false;
     933             : #undef DO_
     934             : }
     935             : 
     936           0 : void Id::SerializeWithCachedSizes(
     937             :     ::google::protobuf::io::CodedOutputStream* output) const {
     938             :   // @@protoc_insertion_point(serialize_start:rpc.img.Id)
     939           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     940             :   (void) cached_has_bits;
     941             : 
     942             :   // int32 id = 1;
     943           0 :   if (this->id() != 0) {
     944           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
     945             :   }
     946             : 
     947           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     948           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
     949           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
     950             :   }
     951             :   // @@protoc_insertion_point(serialize_end:rpc.img.Id)
     952           0 : }
     953             : 
     954           0 : ::google::protobuf::uint8* Id::InternalSerializeWithCachedSizesToArray(
     955             :     bool deterministic, ::google::protobuf::uint8* target) const {
     956             :   (void)deterministic; // Unused
     957             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Id)
     958           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     959             :   (void) cached_has_bits;
     960             : 
     961             :   // int32 id = 1;
     962           0 :   if (this->id() != 0) {
     963           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
     964             :   }
     965             : 
     966           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     967           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
     968           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
     969             :   }
     970             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Id)
     971           0 :   return target;
     972             : }
     973             : 
     974           0 : size_t Id::ByteSizeLong() const {
     975             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Id)
     976           0 :   size_t total_size = 0;
     977             : 
     978           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     979           0 :     total_size +=
     980           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
     981           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
     982             :   }
     983             :   // int32 id = 1;
     984           0 :   if (this->id() != 0) {
     985           0 :     total_size += 1 +
     986           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
     987             :         this->id());
     988             :   }
     989             : 
     990           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
     991           0 :   SetCachedSize(cached_size);
     992           0 :   return total_size;
     993             : }
     994             : 
     995           0 : void Id::MergeFrom(const ::google::protobuf::Message& from) {
     996             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Id)
     997           0 :   GOOGLE_DCHECK_NE(&from, this);
     998             :   const Id* source =
     999           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Id>(
    1000             :           &from);
    1001           0 :   if (source == NULL) {
    1002             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Id)
    1003           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1004             :   } else {
    1005             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Id)
    1006           0 :     MergeFrom(*source);
    1007             :   }
    1008           0 : }
    1009             : 
    1010           0 : void Id::MergeFrom(const Id& from) {
    1011             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Id)
    1012           0 :   GOOGLE_DCHECK_NE(&from, this);
    1013           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1014           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1015             :   (void) cached_has_bits;
    1016             : 
    1017           0 :   if (from.id() != 0) {
    1018           0 :     set_id(from.id());
    1019             :   }
    1020           0 : }
    1021             : 
    1022           0 : void Id::CopyFrom(const ::google::protobuf::Message& from) {
    1023             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Id)
    1024           0 :   if (&from == this) return;
    1025           0 :   Clear();
    1026           0 :   MergeFrom(from);
    1027             : }
    1028             : 
    1029           0 : void Id::CopyFrom(const Id& from) {
    1030             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Id)
    1031           0 :   if (&from == this) return;
    1032           0 :   Clear();
    1033           0 :   MergeFrom(from);
    1034             : }
    1035             : 
    1036           0 : bool Id::IsInitialized() const {
    1037           0 :   return true;
    1038             : }
    1039             : 
    1040           0 : void Id::Swap(Id* other) {
    1041           0 :   if (other == this) return;
    1042           0 :   InternalSwap(other);
    1043             : }
    1044           0 : void Id::InternalSwap(Id* other) {
    1045             :   using std::swap;
    1046           0 :   swap(id_, other->id_);
    1047           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1048           0 : }
    1049             : 
    1050           0 : ::google::protobuf::Metadata Id::GetMetadata() const {
    1051           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    1052           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    1053             : }
    1054             : 
    1055             : 
    1056             : // ===================================================================
    1057             : 
    1058          11 : void NewPanel::InitAsDefaultInstance() {
    1059          11 : }
    1060             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    1061             : const int NewPanel::kTypeFieldNumber;
    1062             : const int NewPanel::kHiddenFieldNumber;
    1063             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    1064             : 
    1065          11 : NewPanel::NewPanel()
    1066          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1067          11 :   ::google::protobuf::internal::InitSCC(
    1068             :       &protobuf_img_2eproto::scc_info_NewPanel.base);
    1069          11 :   SharedCtor();
    1070             :   // @@protoc_insertion_point(constructor:rpc.img.NewPanel)
    1071          11 : }
    1072           0 : NewPanel::NewPanel(const NewPanel& from)
    1073             :   : ::google::protobuf::Message(),
    1074           0 :       _internal_metadata_(NULL) {
    1075           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1076           0 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1077           0 :   if (from.type().size() > 0) {
    1078           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    1079             :   }
    1080           0 :   hidden_ = from.hidden_;
    1081             :   // @@protoc_insertion_point(copy_constructor:rpc.img.NewPanel)
    1082           0 : }
    1083             : 
    1084          11 : void NewPanel::SharedCtor() {
    1085          11 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1086          11 :   hidden_ = false;
    1087          11 : }
    1088             : 
    1089           0 : NewPanel::~NewPanel() {
    1090             :   // @@protoc_insertion_point(destructor:rpc.img.NewPanel)
    1091           0 :   SharedDtor();
    1092           0 : }
    1093             : 
    1094           0 : void NewPanel::SharedDtor() {
    1095           0 :   type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1096           0 : }
    1097             : 
    1098           0 : void NewPanel::SetCachedSize(int size) const {
    1099           0 :   _cached_size_.Set(size);
    1100           0 : }
    1101           0 : const ::google::protobuf::Descriptor* NewPanel::descriptor() {
    1102           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    1103           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    1104             : }
    1105             : 
    1106           0 : const NewPanel& NewPanel::default_instance() {
    1107           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_NewPanel.base);
    1108           0 :   return *internal_default_instance();
    1109             : }
    1110             : 
    1111             : 
    1112           0 : void NewPanel::Clear() {
    1113             : // @@protoc_insertion_point(message_clear_start:rpc.img.NewPanel)
    1114           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1115             :   // Prevent compiler warnings about cached_has_bits being unused
    1116             :   (void) cached_has_bits;
    1117             : 
    1118           0 :   type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1119           0 :   hidden_ = false;
    1120           0 :   _internal_metadata_.Clear();
    1121           0 : }
    1122             : 
    1123           0 : bool NewPanel::MergePartialFromCodedStream(
    1124             :     ::google::protobuf::io::CodedInputStream* input) {
    1125             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    1126             :   ::google::protobuf::uint32 tag;
    1127             :   // @@protoc_insertion_point(parse_start:rpc.img.NewPanel)
    1128             :   for (;;) {
    1129             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    1130           0 :     tag = p.first;
    1131           0 :     if (!p.second) goto handle_unusual;
    1132           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1133             :       // string type = 1;
    1134           0 :       case 1: {
    1135           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1136             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    1137           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1138             :                 input, this->mutable_type()));
    1139           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1140             :             this->type().data(), static_cast<int>(this->type().length()),
    1141             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1142             :             "rpc.img.NewPanel.type"));
    1143             :         } else {
    1144           0 :           goto handle_unusual;
    1145             :         }
    1146           0 :         break;
    1147             :       }
    1148             : 
    1149             :       // bool hidden = 2;
    1150           0 :       case 2: {
    1151           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1152             :             static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
    1153             : 
    1154           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    1155             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
    1156             :                  input, &hidden_)));
    1157             :         } else {
    1158           0 :           goto handle_unusual;
    1159             :         }
    1160           0 :         break;
    1161             :       }
    1162             : 
    1163             :       default: {
    1164           0 :       handle_unusual:
    1165           0 :         if (tag == 0) {
    1166           0 :           goto success;
    1167             :         }
    1168           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    1169             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    1170           0 :         break;
    1171             :       }
    1172             :     }
    1173           0 :   }
    1174           0 : success:
    1175             :   // @@protoc_insertion_point(parse_success:rpc.img.NewPanel)
    1176           0 :   return true;
    1177           0 : failure:
    1178             :   // @@protoc_insertion_point(parse_failure:rpc.img.NewPanel)
    1179           0 :   return false;
    1180             : #undef DO_
    1181             : }
    1182             : 
    1183           0 : void NewPanel::SerializeWithCachedSizes(
    1184             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1185             :   // @@protoc_insertion_point(serialize_start:rpc.img.NewPanel)
    1186           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1187             :   (void) cached_has_bits;
    1188             : 
    1189             :   // string type = 1;
    1190           0 :   if (this->type().size() > 0) {
    1191           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1192           0 :       this->type().data(), static_cast<int>(this->type().length()),
    1193             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1194             :       "rpc.img.NewPanel.type");
    1195           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1196             :       1, this->type(), output);
    1197             :   }
    1198             : 
    1199             :   // bool hidden = 2;
    1200           0 :   if (this->hidden() != 0) {
    1201           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->hidden(), output);
    1202             :   }
    1203             : 
    1204           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1205           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    1206           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    1207             :   }
    1208             :   // @@protoc_insertion_point(serialize_end:rpc.img.NewPanel)
    1209           0 : }
    1210             : 
    1211           0 : ::google::protobuf::uint8* NewPanel::InternalSerializeWithCachedSizesToArray(
    1212             :     bool deterministic, ::google::protobuf::uint8* target) const {
    1213             :   (void)deterministic; // Unused
    1214             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.NewPanel)
    1215           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1216             :   (void) cached_has_bits;
    1217             : 
    1218             :   // string type = 1;
    1219           0 :   if (this->type().size() > 0) {
    1220           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1221           0 :       this->type().data(), static_cast<int>(this->type().length()),
    1222             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1223             :       "rpc.img.NewPanel.type");
    1224             :     target =
    1225           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1226             :         1, this->type(), target);
    1227             :   }
    1228             : 
    1229             :   // bool hidden = 2;
    1230           0 :   if (this->hidden() != 0) {
    1231           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->hidden(), target);
    1232             :   }
    1233             : 
    1234           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1235           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    1236           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    1237             :   }
    1238             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.NewPanel)
    1239           0 :   return target;
    1240             : }
    1241             : 
    1242           0 : size_t NewPanel::ByteSizeLong() const {
    1243             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.NewPanel)
    1244           0 :   size_t total_size = 0;
    1245             : 
    1246           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1247           0 :     total_size +=
    1248           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    1249           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    1250             :   }
    1251             :   // string type = 1;
    1252           0 :   if (this->type().size() > 0) {
    1253           0 :     total_size += 1 +
    1254           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1255             :         this->type());
    1256             :   }
    1257             : 
    1258             :   // bool hidden = 2;
    1259           0 :   if (this->hidden() != 0) {
    1260           0 :     total_size += 1 + 1;
    1261             :   }
    1262             : 
    1263           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    1264           0 :   SetCachedSize(cached_size);
    1265           0 :   return total_size;
    1266             : }
    1267             : 
    1268           0 : void NewPanel::MergeFrom(const ::google::protobuf::Message& from) {
    1269             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.NewPanel)
    1270           0 :   GOOGLE_DCHECK_NE(&from, this);
    1271             :   const NewPanel* source =
    1272           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const NewPanel>(
    1273             :           &from);
    1274           0 :   if (source == NULL) {
    1275             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.NewPanel)
    1276           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1277             :   } else {
    1278             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.NewPanel)
    1279           0 :     MergeFrom(*source);
    1280             :   }
    1281           0 : }
    1282             : 
    1283           0 : void NewPanel::MergeFrom(const NewPanel& from) {
    1284             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.NewPanel)
    1285           0 :   GOOGLE_DCHECK_NE(&from, this);
    1286           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1287           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1288             :   (void) cached_has_bits;
    1289             : 
    1290           0 :   if (from.type().size() > 0) {
    1291             : 
    1292           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    1293             :   }
    1294           0 :   if (from.hidden() != 0) {
    1295           0 :     set_hidden(from.hidden());
    1296             :   }
    1297           0 : }
    1298             : 
    1299           0 : void NewPanel::CopyFrom(const ::google::protobuf::Message& from) {
    1300             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.NewPanel)
    1301           0 :   if (&from == this) return;
    1302           0 :   Clear();
    1303           0 :   MergeFrom(from);
    1304             : }
    1305             : 
    1306           0 : void NewPanel::CopyFrom(const NewPanel& from) {
    1307             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.NewPanel)
    1308           0 :   if (&from == this) return;
    1309           0 :   Clear();
    1310           0 :   MergeFrom(from);
    1311             : }
    1312             : 
    1313           0 : bool NewPanel::IsInitialized() const {
    1314           0 :   return true;
    1315             : }
    1316             : 
    1317           0 : void NewPanel::Swap(NewPanel* other) {
    1318           0 :   if (other == this) return;
    1319           0 :   InternalSwap(other);
    1320             : }
    1321           0 : void NewPanel::InternalSwap(NewPanel* other) {
    1322             :   using std::swap;
    1323           0 :   type_.Swap(&other->type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1324             :     GetArenaNoVirtual());
    1325           0 :   swap(hidden_, other->hidden_);
    1326           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1327           0 : }
    1328             : 
    1329           0 : ::google::protobuf::Metadata NewPanel::GetMetadata() const {
    1330           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    1331           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    1332             : }
    1333             : 
    1334             : 
    1335             : // ===================================================================
    1336             : 
    1337          11 : void NewData::InitAsDefaultInstance() {
    1338          11 :   ::rpc::img::_NewData_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    1339          11 :       ::rpc::img::Id::internal_default_instance());
    1340          11 : }
    1341             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    1342             : const int NewData::kPanelFieldNumber;
    1343             : const int NewData::kPathFieldNumber;
    1344             : const int NewData::kTypeFieldNumber;
    1345             : const int NewData::kScaleFieldNumber;
    1346             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    1347             : 
    1348          11 : NewData::NewData()
    1349          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1350          11 :   ::google::protobuf::internal::InitSCC(
    1351             :       &protobuf_img_2eproto::scc_info_NewData.base);
    1352          11 :   SharedCtor();
    1353             :   // @@protoc_insertion_point(constructor:rpc.img.NewData)
    1354          11 : }
    1355           0 : NewData::NewData(const NewData& from)
    1356             :   : ::google::protobuf::Message(),
    1357           0 :       _internal_metadata_(NULL) {
    1358           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1359           0 :   path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1360           0 :   if (from.path().size() > 0) {
    1361           0 :     path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
    1362             :   }
    1363           0 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1364           0 :   if (from.type().size() > 0) {
    1365           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    1366             :   }
    1367           0 :   if (from.has_panel()) {
    1368           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    1369             :   } else {
    1370           0 :     panel_ = NULL;
    1371             :   }
    1372           0 :   scale_ = from.scale_;
    1373             :   // @@protoc_insertion_point(copy_constructor:rpc.img.NewData)
    1374           0 : }
    1375             : 
    1376          11 : void NewData::SharedCtor() {
    1377          11 :   path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1378          11 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1379          11 :   ::memset(&panel_, 0, static_cast<size_t>(
    1380             :       reinterpret_cast<char*>(&scale_) -
    1381             :       reinterpret_cast<char*>(&panel_)) + sizeof(scale_));
    1382          11 : }
    1383             : 
    1384           0 : NewData::~NewData() {
    1385             :   // @@protoc_insertion_point(destructor:rpc.img.NewData)
    1386           0 :   SharedDtor();
    1387           0 : }
    1388             : 
    1389           0 : void NewData::SharedDtor() {
    1390           0 :   path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1391           0 :   type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1392           0 :   if (this != internal_default_instance()) delete panel_;
    1393           0 : }
    1394             : 
    1395           0 : void NewData::SetCachedSize(int size) const {
    1396           0 :   _cached_size_.Set(size);
    1397           0 : }
    1398           0 : const ::google::protobuf::Descriptor* NewData::descriptor() {
    1399           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    1400           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    1401             : }
    1402             : 
    1403           0 : const NewData& NewData::default_instance() {
    1404           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_NewData.base);
    1405           0 :   return *internal_default_instance();
    1406             : }
    1407             : 
    1408             : 
    1409           0 : void NewData::Clear() {
    1410             : // @@protoc_insertion_point(message_clear_start:rpc.img.NewData)
    1411           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1412             :   // Prevent compiler warnings about cached_has_bits being unused
    1413             :   (void) cached_has_bits;
    1414             : 
    1415           0 :   path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1416           0 :   type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1417           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1418           0 :     delete panel_;
    1419             :   }
    1420           0 :   panel_ = NULL;
    1421           0 :   scale_ = 0;
    1422           0 :   _internal_metadata_.Clear();
    1423           0 : }
    1424             : 
    1425           0 : bool NewData::MergePartialFromCodedStream(
    1426             :     ::google::protobuf::io::CodedInputStream* input) {
    1427             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    1428             :   ::google::protobuf::uint32 tag;
    1429             :   // @@protoc_insertion_point(parse_start:rpc.img.NewData)
    1430             :   for (;;) {
    1431             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    1432           0 :     tag = p.first;
    1433           0 :     if (!p.second) goto handle_unusual;
    1434           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1435             :       // .rpc.img.Id panel = 1;
    1436           0 :       case 1: {
    1437           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1438             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    1439           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    1440             :                input, mutable_panel()));
    1441             :         } else {
    1442           0 :           goto handle_unusual;
    1443             :         }
    1444           0 :         break;
    1445             :       }
    1446             : 
    1447             :       // string path = 2;
    1448           0 :       case 2: {
    1449           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1450             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    1451           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1452             :                 input, this->mutable_path()));
    1453           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1454             :             this->path().data(), static_cast<int>(this->path().length()),
    1455             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1456             :             "rpc.img.NewData.path"));
    1457             :         } else {
    1458           0 :           goto handle_unusual;
    1459             :         }
    1460           0 :         break;
    1461             :       }
    1462             : 
    1463             :       // string type = 3;
    1464           0 :       case 3: {
    1465           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1466             :             static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
    1467           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1468             :                 input, this->mutable_type()));
    1469           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1470             :             this->type().data(), static_cast<int>(this->type().length()),
    1471             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1472             :             "rpc.img.NewData.type"));
    1473             :         } else {
    1474           0 :           goto handle_unusual;
    1475             :         }
    1476           0 :         break;
    1477             :       }
    1478             : 
    1479             :       // float scale = 4;
    1480           0 :       case 4: {
    1481           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1482             :             static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
    1483             : 
    1484           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    1485             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    1486             :                  input, &scale_)));
    1487             :         } else {
    1488           0 :           goto handle_unusual;
    1489             :         }
    1490           0 :         break;
    1491             :       }
    1492             : 
    1493             :       default: {
    1494           0 :       handle_unusual:
    1495           0 :         if (tag == 0) {
    1496           0 :           goto success;
    1497             :         }
    1498           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    1499             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    1500           0 :         break;
    1501             :       }
    1502             :     }
    1503           0 :   }
    1504           0 : success:
    1505             :   // @@protoc_insertion_point(parse_success:rpc.img.NewData)
    1506           0 :   return true;
    1507           0 : failure:
    1508             :   // @@protoc_insertion_point(parse_failure:rpc.img.NewData)
    1509           0 :   return false;
    1510             : #undef DO_
    1511             : }
    1512             : 
    1513           0 : void NewData::SerializeWithCachedSizes(
    1514             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1515             :   // @@protoc_insertion_point(serialize_start:rpc.img.NewData)
    1516           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1517             :   (void) cached_has_bits;
    1518             : 
    1519             :   // .rpc.img.Id panel = 1;
    1520           0 :   if (this->has_panel()) {
    1521           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    1522           0 :       1, this->_internal_panel(), output);
    1523             :   }
    1524             : 
    1525             :   // string path = 2;
    1526           0 :   if (this->path().size() > 0) {
    1527           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1528           0 :       this->path().data(), static_cast<int>(this->path().length()),
    1529             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1530             :       "rpc.img.NewData.path");
    1531           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1532             :       2, this->path(), output);
    1533             :   }
    1534             : 
    1535             :   // string type = 3;
    1536           0 :   if (this->type().size() > 0) {
    1537           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1538           0 :       this->type().data(), static_cast<int>(this->type().length()),
    1539             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1540             :       "rpc.img.NewData.type");
    1541           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1542             :       3, this->type(), output);
    1543             :   }
    1544             : 
    1545             :   // float scale = 4;
    1546           0 :   if (this->scale() != 0) {
    1547           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->scale(), output);
    1548             :   }
    1549             : 
    1550           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1551           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    1552           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    1553             :   }
    1554             :   // @@protoc_insertion_point(serialize_end:rpc.img.NewData)
    1555           0 : }
    1556             : 
    1557           0 : ::google::protobuf::uint8* NewData::InternalSerializeWithCachedSizesToArray(
    1558             :     bool deterministic, ::google::protobuf::uint8* target) const {
    1559             :   (void)deterministic; // Unused
    1560             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.NewData)
    1561           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1562             :   (void) cached_has_bits;
    1563             : 
    1564             :   // .rpc.img.Id panel = 1;
    1565           0 :   if (this->has_panel()) {
    1566             :     target = ::google::protobuf::internal::WireFormatLite::
    1567           0 :       InternalWriteMessageToArray(
    1568             :         1, this->_internal_panel(), deterministic, target);
    1569             :   }
    1570             : 
    1571             :   // string path = 2;
    1572           0 :   if (this->path().size() > 0) {
    1573           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1574           0 :       this->path().data(), static_cast<int>(this->path().length()),
    1575             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1576             :       "rpc.img.NewData.path");
    1577             :     target =
    1578           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1579             :         2, this->path(), target);
    1580             :   }
    1581             : 
    1582             :   // string type = 3;
    1583           0 :   if (this->type().size() > 0) {
    1584           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1585           0 :       this->type().data(), static_cast<int>(this->type().length()),
    1586             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1587             :       "rpc.img.NewData.type");
    1588             :     target =
    1589           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1590             :         3, this->type(), target);
    1591             :   }
    1592             : 
    1593             :   // float scale = 4;
    1594           0 :   if (this->scale() != 0) {
    1595           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->scale(), target);
    1596             :   }
    1597             : 
    1598           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1599           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    1600           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    1601             :   }
    1602             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.NewData)
    1603           0 :   return target;
    1604             : }
    1605             : 
    1606           0 : size_t NewData::ByteSizeLong() const {
    1607             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.NewData)
    1608           0 :   size_t total_size = 0;
    1609             : 
    1610           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1611           0 :     total_size +=
    1612           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    1613           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    1614             :   }
    1615             :   // string path = 2;
    1616           0 :   if (this->path().size() > 0) {
    1617           0 :     total_size += 1 +
    1618           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1619             :         this->path());
    1620             :   }
    1621             : 
    1622             :   // string type = 3;
    1623           0 :   if (this->type().size() > 0) {
    1624           0 :     total_size += 1 +
    1625           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1626             :         this->type());
    1627             :   }
    1628             : 
    1629             :   // .rpc.img.Id panel = 1;
    1630           0 :   if (this->has_panel()) {
    1631           0 :     total_size += 1 +
    1632           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    1633           0 :         *panel_);
    1634             :   }
    1635             : 
    1636             :   // float scale = 4;
    1637           0 :   if (this->scale() != 0) {
    1638           0 :     total_size += 1 + 4;
    1639             :   }
    1640             : 
    1641           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    1642           0 :   SetCachedSize(cached_size);
    1643           0 :   return total_size;
    1644             : }
    1645             : 
    1646           0 : void NewData::MergeFrom(const ::google::protobuf::Message& from) {
    1647             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.NewData)
    1648           0 :   GOOGLE_DCHECK_NE(&from, this);
    1649             :   const NewData* source =
    1650           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const NewData>(
    1651             :           &from);
    1652           0 :   if (source == NULL) {
    1653             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.NewData)
    1654           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1655             :   } else {
    1656             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.NewData)
    1657           0 :     MergeFrom(*source);
    1658             :   }
    1659           0 : }
    1660             : 
    1661           0 : void NewData::MergeFrom(const NewData& from) {
    1662             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.NewData)
    1663           0 :   GOOGLE_DCHECK_NE(&from, this);
    1664           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1665           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1666             :   (void) cached_has_bits;
    1667             : 
    1668           0 :   if (from.path().size() > 0) {
    1669             : 
    1670           0 :     path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
    1671             :   }
    1672           0 :   if (from.type().size() > 0) {
    1673             : 
    1674           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    1675             :   }
    1676           0 :   if (from.has_panel()) {
    1677           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    1678             :   }
    1679           0 :   if (from.scale() != 0) {
    1680           0 :     set_scale(from.scale());
    1681             :   }
    1682           0 : }
    1683             : 
    1684           0 : void NewData::CopyFrom(const ::google::protobuf::Message& from) {
    1685             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.NewData)
    1686           0 :   if (&from == this) return;
    1687           0 :   Clear();
    1688           0 :   MergeFrom(from);
    1689             : }
    1690             : 
    1691           0 : void NewData::CopyFrom(const NewData& from) {
    1692             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.NewData)
    1693           0 :   if (&from == this) return;
    1694           0 :   Clear();
    1695           0 :   MergeFrom(from);
    1696             : }
    1697             : 
    1698           0 : bool NewData::IsInitialized() const {
    1699           0 :   return true;
    1700             : }
    1701             : 
    1702           0 : void NewData::Swap(NewData* other) {
    1703           0 :   if (other == this) return;
    1704           0 :   InternalSwap(other);
    1705             : }
    1706           0 : void NewData::InternalSwap(NewData* other) {
    1707             :   using std::swap;
    1708           0 :   path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1709             :     GetArenaNoVirtual());
    1710           0 :   type_.Swap(&other->type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1711             :     GetArenaNoVirtual());
    1712           0 :   swap(panel_, other->panel_);
    1713           0 :   swap(scale_, other->scale_);
    1714           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1715           0 : }
    1716             : 
    1717           0 : ::google::protobuf::Metadata NewData::GetMetadata() const {
    1718           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    1719           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    1720             : }
    1721             : 
    1722             : 
    1723             : // ===================================================================
    1724             : 
    1725          11 : void PopUp::InitAsDefaultInstance() {
    1726          11 :   ::rpc::img::_PopUp_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    1727          11 :       ::rpc::img::Id::internal_default_instance());
    1728          11 : }
    1729             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    1730             : const int PopUp::kPanelFieldNumber;
    1731             : const int PopUp::kNameFieldNumber;
    1732             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    1733             : 
    1734          11 : PopUp::PopUp()
    1735          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1736          11 :   ::google::protobuf::internal::InitSCC(
    1737             :       &protobuf_img_2eproto::scc_info_PopUp.base);
    1738          11 :   SharedCtor();
    1739             :   // @@protoc_insertion_point(constructor:rpc.img.PopUp)
    1740          11 : }
    1741           0 : PopUp::PopUp(const PopUp& from)
    1742             :   : ::google::protobuf::Message(),
    1743           0 :       _internal_metadata_(NULL) {
    1744           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1745           0 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1746           0 :   if (from.name().size() > 0) {
    1747           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1748             :   }
    1749           0 :   if (from.has_panel()) {
    1750           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    1751             :   } else {
    1752           0 :     panel_ = NULL;
    1753             :   }
    1754             :   // @@protoc_insertion_point(copy_constructor:rpc.img.PopUp)
    1755           0 : }
    1756             : 
    1757          11 : void PopUp::SharedCtor() {
    1758          11 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1759          11 :   panel_ = NULL;
    1760          11 : }
    1761             : 
    1762           0 : PopUp::~PopUp() {
    1763             :   // @@protoc_insertion_point(destructor:rpc.img.PopUp)
    1764           0 :   SharedDtor();
    1765           0 : }
    1766             : 
    1767           0 : void PopUp::SharedDtor() {
    1768           0 :   name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1769           0 :   if (this != internal_default_instance()) delete panel_;
    1770           0 : }
    1771             : 
    1772           0 : void PopUp::SetCachedSize(int size) const {
    1773           0 :   _cached_size_.Set(size);
    1774           0 : }
    1775           0 : const ::google::protobuf::Descriptor* PopUp::descriptor() {
    1776           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    1777           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    1778             : }
    1779             : 
    1780           0 : const PopUp& PopUp::default_instance() {
    1781           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_PopUp.base);
    1782           0 :   return *internal_default_instance();
    1783             : }
    1784             : 
    1785             : 
    1786           0 : void PopUp::Clear() {
    1787             : // @@protoc_insertion_point(message_clear_start:rpc.img.PopUp)
    1788           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1789             :   // Prevent compiler warnings about cached_has_bits being unused
    1790             :   (void) cached_has_bits;
    1791             : 
    1792           0 :   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1793           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1794           0 :     delete panel_;
    1795             :   }
    1796           0 :   panel_ = NULL;
    1797           0 :   _internal_metadata_.Clear();
    1798           0 : }
    1799             : 
    1800           0 : bool PopUp::MergePartialFromCodedStream(
    1801             :     ::google::protobuf::io::CodedInputStream* input) {
    1802             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    1803             :   ::google::protobuf::uint32 tag;
    1804             :   // @@protoc_insertion_point(parse_start:rpc.img.PopUp)
    1805             :   for (;;) {
    1806             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    1807           0 :     tag = p.first;
    1808           0 :     if (!p.second) goto handle_unusual;
    1809           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1810             :       // .rpc.img.Id panel = 1;
    1811           0 :       case 1: {
    1812           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1813             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    1814           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    1815             :                input, mutable_panel()));
    1816             :         } else {
    1817           0 :           goto handle_unusual;
    1818             :         }
    1819           0 :         break;
    1820             :       }
    1821             : 
    1822             :       // string name = 2;
    1823           0 :       case 2: {
    1824           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1825             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    1826           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1827             :                 input, this->mutable_name()));
    1828           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1829             :             this->name().data(), static_cast<int>(this->name().length()),
    1830             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1831             :             "rpc.img.PopUp.name"));
    1832             :         } else {
    1833           0 :           goto handle_unusual;
    1834             :         }
    1835           0 :         break;
    1836             :       }
    1837             : 
    1838             :       default: {
    1839           0 :       handle_unusual:
    1840           0 :         if (tag == 0) {
    1841           0 :           goto success;
    1842             :         }
    1843           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    1844             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    1845           0 :         break;
    1846             :       }
    1847             :     }
    1848           0 :   }
    1849           0 : success:
    1850             :   // @@protoc_insertion_point(parse_success:rpc.img.PopUp)
    1851           0 :   return true;
    1852           0 : failure:
    1853             :   // @@protoc_insertion_point(parse_failure:rpc.img.PopUp)
    1854           0 :   return false;
    1855             : #undef DO_
    1856             : }
    1857             : 
    1858           0 : void PopUp::SerializeWithCachedSizes(
    1859             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1860             :   // @@protoc_insertion_point(serialize_start:rpc.img.PopUp)
    1861           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1862             :   (void) cached_has_bits;
    1863             : 
    1864             :   // .rpc.img.Id panel = 1;
    1865           0 :   if (this->has_panel()) {
    1866           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    1867           0 :       1, this->_internal_panel(), output);
    1868             :   }
    1869             : 
    1870             :   // string name = 2;
    1871           0 :   if (this->name().size() > 0) {
    1872           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1873           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1874             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1875             :       "rpc.img.PopUp.name");
    1876           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1877             :       2, this->name(), output);
    1878             :   }
    1879             : 
    1880           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1881           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    1882           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    1883             :   }
    1884             :   // @@protoc_insertion_point(serialize_end:rpc.img.PopUp)
    1885           0 : }
    1886             : 
    1887           0 : ::google::protobuf::uint8* PopUp::InternalSerializeWithCachedSizesToArray(
    1888             :     bool deterministic, ::google::protobuf::uint8* target) const {
    1889             :   (void)deterministic; // Unused
    1890             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.PopUp)
    1891           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1892             :   (void) cached_has_bits;
    1893             : 
    1894             :   // .rpc.img.Id panel = 1;
    1895           0 :   if (this->has_panel()) {
    1896             :     target = ::google::protobuf::internal::WireFormatLite::
    1897           0 :       InternalWriteMessageToArray(
    1898             :         1, this->_internal_panel(), deterministic, target);
    1899             :   }
    1900             : 
    1901             :   // string name = 2;
    1902           0 :   if (this->name().size() > 0) {
    1903           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1904           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1905             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1906             :       "rpc.img.PopUp.name");
    1907             :     target =
    1908           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1909             :         2, this->name(), target);
    1910             :   }
    1911             : 
    1912           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1913           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    1914           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    1915             :   }
    1916             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.PopUp)
    1917           0 :   return target;
    1918             : }
    1919             : 
    1920           0 : size_t PopUp::ByteSizeLong() const {
    1921             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.PopUp)
    1922           0 :   size_t total_size = 0;
    1923             : 
    1924           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1925           0 :     total_size +=
    1926           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    1927           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    1928             :   }
    1929             :   // string name = 2;
    1930           0 :   if (this->name().size() > 0) {
    1931           0 :     total_size += 1 +
    1932           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1933             :         this->name());
    1934             :   }
    1935             : 
    1936             :   // .rpc.img.Id panel = 1;
    1937           0 :   if (this->has_panel()) {
    1938           0 :     total_size += 1 +
    1939           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    1940           0 :         *panel_);
    1941             :   }
    1942             : 
    1943           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    1944           0 :   SetCachedSize(cached_size);
    1945           0 :   return total_size;
    1946             : }
    1947             : 
    1948           0 : void PopUp::MergeFrom(const ::google::protobuf::Message& from) {
    1949             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.PopUp)
    1950           0 :   GOOGLE_DCHECK_NE(&from, this);
    1951             :   const PopUp* source =
    1952           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const PopUp>(
    1953             :           &from);
    1954           0 :   if (source == NULL) {
    1955             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.PopUp)
    1956           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1957             :   } else {
    1958             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.PopUp)
    1959           0 :     MergeFrom(*source);
    1960             :   }
    1961           0 : }
    1962             : 
    1963           0 : void PopUp::MergeFrom(const PopUp& from) {
    1964             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.PopUp)
    1965           0 :   GOOGLE_DCHECK_NE(&from, this);
    1966           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1967           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1968             :   (void) cached_has_bits;
    1969             : 
    1970           0 :   if (from.name().size() > 0) {
    1971             : 
    1972           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1973             :   }
    1974           0 :   if (from.has_panel()) {
    1975           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    1976             :   }
    1977           0 : }
    1978             : 
    1979           0 : void PopUp::CopyFrom(const ::google::protobuf::Message& from) {
    1980             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.PopUp)
    1981           0 :   if (&from == this) return;
    1982           0 :   Clear();
    1983           0 :   MergeFrom(from);
    1984             : }
    1985             : 
    1986           0 : void PopUp::CopyFrom(const PopUp& from) {
    1987             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.PopUp)
    1988           0 :   if (&from == this) return;
    1989           0 :   Clear();
    1990           0 :   MergeFrom(from);
    1991             : }
    1992             : 
    1993           0 : bool PopUp::IsInitialized() const {
    1994           0 :   return true;
    1995             : }
    1996             : 
    1997           0 : void PopUp::Swap(PopUp* other) {
    1998           0 :   if (other == this) return;
    1999           0 :   InternalSwap(other);
    2000             : }
    2001           0 : void PopUp::InternalSwap(PopUp* other) {
    2002             :   using std::swap;
    2003           0 :   name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    2004             :     GetArenaNoVirtual());
    2005           0 :   swap(panel_, other->panel_);
    2006           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    2007           0 : }
    2008             : 
    2009           0 : ::google::protobuf::Metadata PopUp::GetMetadata() const {
    2010           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2011           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    2012             : }
    2013             : 
    2014             : 
    2015             : // ===================================================================
    2016             : 
    2017          11 : void Restore::InitAsDefaultInstance() {
    2018          11 :   ::rpc::img::_Restore_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    2019          11 :       ::rpc::img::Id::internal_default_instance());
    2020          11 : }
    2021             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    2022             : const int Restore::kPanelFieldNumber;
    2023             : const int Restore::kPathFieldNumber;
    2024             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    2025             : 
    2026          11 : Restore::Restore()
    2027          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    2028          11 :   ::google::protobuf::internal::InitSCC(
    2029             :       &protobuf_img_2eproto::scc_info_Restore.base);
    2030          11 :   SharedCtor();
    2031             :   // @@protoc_insertion_point(constructor:rpc.img.Restore)
    2032          11 : }
    2033           0 : Restore::Restore(const Restore& from)
    2034             :   : ::google::protobuf::Message(),
    2035           0 :       _internal_metadata_(NULL) {
    2036           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2037           0 :   path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2038           0 :   if (from.path().size() > 0) {
    2039           0 :     path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
    2040             :   }
    2041           0 :   if (from.has_panel()) {
    2042           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    2043             :   } else {
    2044           0 :     panel_ = NULL;
    2045             :   }
    2046             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Restore)
    2047           0 : }
    2048             : 
    2049          11 : void Restore::SharedCtor() {
    2050          11 :   path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2051          11 :   panel_ = NULL;
    2052          11 : }
    2053             : 
    2054           0 : Restore::~Restore() {
    2055             :   // @@protoc_insertion_point(destructor:rpc.img.Restore)
    2056           0 :   SharedDtor();
    2057           0 : }
    2058             : 
    2059           0 : void Restore::SharedDtor() {
    2060           0 :   path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2061           0 :   if (this != internal_default_instance()) delete panel_;
    2062           0 : }
    2063             : 
    2064           0 : void Restore::SetCachedSize(int size) const {
    2065           0 :   _cached_size_.Set(size);
    2066           0 : }
    2067           0 : const ::google::protobuf::Descriptor* Restore::descriptor() {
    2068           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2069           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    2070             : }
    2071             : 
    2072           0 : const Restore& Restore::default_instance() {
    2073           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Restore.base);
    2074           0 :   return *internal_default_instance();
    2075             : }
    2076             : 
    2077             : 
    2078           0 : void Restore::Clear() {
    2079             : // @@protoc_insertion_point(message_clear_start:rpc.img.Restore)
    2080           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2081             :   // Prevent compiler warnings about cached_has_bits being unused
    2082             :   (void) cached_has_bits;
    2083             : 
    2084           0 :   path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2085           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    2086           0 :     delete panel_;
    2087             :   }
    2088           0 :   panel_ = NULL;
    2089           0 :   _internal_metadata_.Clear();
    2090           0 : }
    2091             : 
    2092           0 : bool Restore::MergePartialFromCodedStream(
    2093             :     ::google::protobuf::io::CodedInputStream* input) {
    2094             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    2095             :   ::google::protobuf::uint32 tag;
    2096             :   // @@protoc_insertion_point(parse_start:rpc.img.Restore)
    2097             :   for (;;) {
    2098             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    2099           0 :     tag = p.first;
    2100           0 :     if (!p.second) goto handle_unusual;
    2101           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    2102             :       // .rpc.img.Id panel = 1;
    2103           0 :       case 1: {
    2104           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2105             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    2106           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    2107             :                input, mutable_panel()));
    2108             :         } else {
    2109           0 :           goto handle_unusual;
    2110             :         }
    2111           0 :         break;
    2112             :       }
    2113             : 
    2114             :       // string path = 2;
    2115           0 :       case 2: {
    2116           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2117             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    2118           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    2119             :                 input, this->mutable_path()));
    2120           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2121             :             this->path().data(), static_cast<int>(this->path().length()),
    2122             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    2123             :             "rpc.img.Restore.path"));
    2124             :         } else {
    2125           0 :           goto handle_unusual;
    2126             :         }
    2127           0 :         break;
    2128             :       }
    2129             : 
    2130             :       default: {
    2131           0 :       handle_unusual:
    2132           0 :         if (tag == 0) {
    2133           0 :           goto success;
    2134             :         }
    2135           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    2136             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    2137           0 :         break;
    2138             :       }
    2139             :     }
    2140           0 :   }
    2141           0 : success:
    2142             :   // @@protoc_insertion_point(parse_success:rpc.img.Restore)
    2143           0 :   return true;
    2144           0 : failure:
    2145             :   // @@protoc_insertion_point(parse_failure:rpc.img.Restore)
    2146           0 :   return false;
    2147             : #undef DO_
    2148             : }
    2149             : 
    2150           0 : void Restore::SerializeWithCachedSizes(
    2151             :     ::google::protobuf::io::CodedOutputStream* output) const {
    2152             :   // @@protoc_insertion_point(serialize_start:rpc.img.Restore)
    2153           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2154             :   (void) cached_has_bits;
    2155             : 
    2156             :   // .rpc.img.Id panel = 1;
    2157           0 :   if (this->has_panel()) {
    2158           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    2159           0 :       1, this->_internal_panel(), output);
    2160             :   }
    2161             : 
    2162             :   // string path = 2;
    2163           0 :   if (this->path().size() > 0) {
    2164           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2165           0 :       this->path().data(), static_cast<int>(this->path().length()),
    2166             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2167             :       "rpc.img.Restore.path");
    2168           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    2169             :       2, this->path(), output);
    2170             :   }
    2171             : 
    2172           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2173           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    2174           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    2175             :   }
    2176             :   // @@protoc_insertion_point(serialize_end:rpc.img.Restore)
    2177           0 : }
    2178             : 
    2179           0 : ::google::protobuf::uint8* Restore::InternalSerializeWithCachedSizesToArray(
    2180             :     bool deterministic, ::google::protobuf::uint8* target) const {
    2181             :   (void)deterministic; // Unused
    2182             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Restore)
    2183           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2184             :   (void) cached_has_bits;
    2185             : 
    2186             :   // .rpc.img.Id panel = 1;
    2187           0 :   if (this->has_panel()) {
    2188             :     target = ::google::protobuf::internal::WireFormatLite::
    2189           0 :       InternalWriteMessageToArray(
    2190             :         1, this->_internal_panel(), deterministic, target);
    2191             :   }
    2192             : 
    2193             :   // string path = 2;
    2194           0 :   if (this->path().size() > 0) {
    2195           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2196           0 :       this->path().data(), static_cast<int>(this->path().length()),
    2197             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2198             :       "rpc.img.Restore.path");
    2199             :     target =
    2200           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    2201             :         2, this->path(), target);
    2202             :   }
    2203             : 
    2204           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2205           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    2206           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    2207             :   }
    2208             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Restore)
    2209           0 :   return target;
    2210             : }
    2211             : 
    2212           0 : size_t Restore::ByteSizeLong() const {
    2213             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Restore)
    2214           0 :   size_t total_size = 0;
    2215             : 
    2216           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2217           0 :     total_size +=
    2218           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    2219           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    2220             :   }
    2221             :   // string path = 2;
    2222           0 :   if (this->path().size() > 0) {
    2223           0 :     total_size += 1 +
    2224           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    2225             :         this->path());
    2226             :   }
    2227             : 
    2228             :   // .rpc.img.Id panel = 1;
    2229           0 :   if (this->has_panel()) {
    2230           0 :     total_size += 1 +
    2231           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    2232           0 :         *panel_);
    2233             :   }
    2234             : 
    2235           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    2236           0 :   SetCachedSize(cached_size);
    2237           0 :   return total_size;
    2238             : }
    2239             : 
    2240           0 : void Restore::MergeFrom(const ::google::protobuf::Message& from) {
    2241             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Restore)
    2242           0 :   GOOGLE_DCHECK_NE(&from, this);
    2243             :   const Restore* source =
    2244           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Restore>(
    2245             :           &from);
    2246           0 :   if (source == NULL) {
    2247             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Restore)
    2248           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    2249             :   } else {
    2250             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Restore)
    2251           0 :     MergeFrom(*source);
    2252             :   }
    2253           0 : }
    2254             : 
    2255           0 : void Restore::MergeFrom(const Restore& from) {
    2256             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Restore)
    2257           0 :   GOOGLE_DCHECK_NE(&from, this);
    2258           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2259           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2260             :   (void) cached_has_bits;
    2261             : 
    2262           0 :   if (from.path().size() > 0) {
    2263             : 
    2264           0 :     path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
    2265             :   }
    2266           0 :   if (from.has_panel()) {
    2267           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    2268             :   }
    2269           0 : }
    2270             : 
    2271           0 : void Restore::CopyFrom(const ::google::protobuf::Message& from) {
    2272             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Restore)
    2273           0 :   if (&from == this) return;
    2274           0 :   Clear();
    2275           0 :   MergeFrom(from);
    2276             : }
    2277             : 
    2278           0 : void Restore::CopyFrom(const Restore& from) {
    2279             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Restore)
    2280           0 :   if (&from == this) return;
    2281           0 :   Clear();
    2282           0 :   MergeFrom(from);
    2283             : }
    2284             : 
    2285           0 : bool Restore::IsInitialized() const {
    2286           0 :   return true;
    2287             : }
    2288             : 
    2289           0 : void Restore::Swap(Restore* other) {
    2290           0 :   if (other == this) return;
    2291           0 :   InternalSwap(other);
    2292             : }
    2293           0 : void Restore::InternalSwap(Restore* other) {
    2294             :   using std::swap;
    2295           0 :   path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    2296             :     GetArenaNoVirtual());
    2297           0 :   swap(panel_, other->panel_);
    2298           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    2299           0 : }
    2300             : 
    2301           0 : ::google::protobuf::Metadata Restore::GetMetadata() const {
    2302           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2303           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    2304             : }
    2305             : 
    2306             : 
    2307             : // ===================================================================
    2308             : 
    2309          11 : void FileInfo::InitAsDefaultInstance() {
    2310          11 : }
    2311             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    2312             : const int FileInfo::kTypeFieldNumber;
    2313             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    2314             : 
    2315          11 : FileInfo::FileInfo()
    2316          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    2317          11 :   ::google::protobuf::internal::InitSCC(
    2318             :       &protobuf_img_2eproto::scc_info_FileInfo.base);
    2319          11 :   SharedCtor();
    2320             :   // @@protoc_insertion_point(constructor:rpc.img.FileInfo)
    2321          11 : }
    2322           0 : FileInfo::FileInfo(const FileInfo& from)
    2323             :   : ::google::protobuf::Message(),
    2324           0 :       _internal_metadata_(NULL) {
    2325           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2326           0 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2327           0 :   if (from.type().size() > 0) {
    2328           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    2329             :   }
    2330             :   // @@protoc_insertion_point(copy_constructor:rpc.img.FileInfo)
    2331           0 : }
    2332             : 
    2333          11 : void FileInfo::SharedCtor() {
    2334          11 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2335          11 : }
    2336             : 
    2337           0 : FileInfo::~FileInfo() {
    2338             :   // @@protoc_insertion_point(destructor:rpc.img.FileInfo)
    2339           0 :   SharedDtor();
    2340           0 : }
    2341             : 
    2342           0 : void FileInfo::SharedDtor() {
    2343           0 :   type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2344           0 : }
    2345             : 
    2346           0 : void FileInfo::SetCachedSize(int size) const {
    2347           0 :   _cached_size_.Set(size);
    2348           0 : }
    2349           0 : const ::google::protobuf::Descriptor* FileInfo::descriptor() {
    2350           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2351           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    2352             : }
    2353             : 
    2354           0 : const FileInfo& FileInfo::default_instance() {
    2355           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_FileInfo.base);
    2356           0 :   return *internal_default_instance();
    2357             : }
    2358             : 
    2359             : 
    2360           0 : void FileInfo::Clear() {
    2361             : // @@protoc_insertion_point(message_clear_start:rpc.img.FileInfo)
    2362           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2363             :   // Prevent compiler warnings about cached_has_bits being unused
    2364             :   (void) cached_has_bits;
    2365             : 
    2366           0 :   type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2367           0 :   _internal_metadata_.Clear();
    2368           0 : }
    2369             : 
    2370           0 : bool FileInfo::MergePartialFromCodedStream(
    2371             :     ::google::protobuf::io::CodedInputStream* input) {
    2372             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    2373             :   ::google::protobuf::uint32 tag;
    2374             :   // @@protoc_insertion_point(parse_start:rpc.img.FileInfo)
    2375             :   for (;;) {
    2376             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    2377           0 :     tag = p.first;
    2378           0 :     if (!p.second) goto handle_unusual;
    2379           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    2380             :       // string type = 1;
    2381           0 :       case 1: {
    2382           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2383             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    2384           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    2385             :                 input, this->mutable_type()));
    2386           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2387             :             this->type().data(), static_cast<int>(this->type().length()),
    2388             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    2389             :             "rpc.img.FileInfo.type"));
    2390             :         } else {
    2391           0 :           goto handle_unusual;
    2392             :         }
    2393           0 :         break;
    2394             :       }
    2395             : 
    2396             :       default: {
    2397           0 :       handle_unusual:
    2398           0 :         if (tag == 0) {
    2399           0 :           goto success;
    2400             :         }
    2401           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    2402             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    2403           0 :         break;
    2404             :       }
    2405             :     }
    2406           0 :   }
    2407           0 : success:
    2408             :   // @@protoc_insertion_point(parse_success:rpc.img.FileInfo)
    2409           0 :   return true;
    2410           0 : failure:
    2411             :   // @@protoc_insertion_point(parse_failure:rpc.img.FileInfo)
    2412           0 :   return false;
    2413             : #undef DO_
    2414             : }
    2415             : 
    2416           0 : void FileInfo::SerializeWithCachedSizes(
    2417             :     ::google::protobuf::io::CodedOutputStream* output) const {
    2418             :   // @@protoc_insertion_point(serialize_start:rpc.img.FileInfo)
    2419           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2420             :   (void) cached_has_bits;
    2421             : 
    2422             :   // string type = 1;
    2423           0 :   if (this->type().size() > 0) {
    2424           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2425           0 :       this->type().data(), static_cast<int>(this->type().length()),
    2426             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2427             :       "rpc.img.FileInfo.type");
    2428           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    2429             :       1, this->type(), output);
    2430             :   }
    2431             : 
    2432           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2433           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    2434           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    2435             :   }
    2436             :   // @@protoc_insertion_point(serialize_end:rpc.img.FileInfo)
    2437           0 : }
    2438             : 
    2439           0 : ::google::protobuf::uint8* FileInfo::InternalSerializeWithCachedSizesToArray(
    2440             :     bool deterministic, ::google::protobuf::uint8* target) const {
    2441             :   (void)deterministic; // Unused
    2442             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.FileInfo)
    2443           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2444             :   (void) cached_has_bits;
    2445             : 
    2446             :   // string type = 1;
    2447           0 :   if (this->type().size() > 0) {
    2448           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2449           0 :       this->type().data(), static_cast<int>(this->type().length()),
    2450             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2451             :       "rpc.img.FileInfo.type");
    2452             :     target =
    2453           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    2454             :         1, this->type(), target);
    2455             :   }
    2456             : 
    2457           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2458           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    2459           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    2460             :   }
    2461             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.FileInfo)
    2462           0 :   return target;
    2463             : }
    2464             : 
    2465           0 : size_t FileInfo::ByteSizeLong() const {
    2466             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.FileInfo)
    2467           0 :   size_t total_size = 0;
    2468             : 
    2469           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2470           0 :     total_size +=
    2471           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    2472           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    2473             :   }
    2474             :   // string type = 1;
    2475           0 :   if (this->type().size() > 0) {
    2476           0 :     total_size += 1 +
    2477           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    2478             :         this->type());
    2479             :   }
    2480             : 
    2481           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    2482           0 :   SetCachedSize(cached_size);
    2483           0 :   return total_size;
    2484             : }
    2485             : 
    2486           0 : void FileInfo::MergeFrom(const ::google::protobuf::Message& from) {
    2487             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.FileInfo)
    2488           0 :   GOOGLE_DCHECK_NE(&from, this);
    2489             :   const FileInfo* source =
    2490           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const FileInfo>(
    2491             :           &from);
    2492           0 :   if (source == NULL) {
    2493             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.FileInfo)
    2494           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    2495             :   } else {
    2496             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.FileInfo)
    2497           0 :     MergeFrom(*source);
    2498             :   }
    2499           0 : }
    2500             : 
    2501           0 : void FileInfo::MergeFrom(const FileInfo& from) {
    2502             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.FileInfo)
    2503           0 :   GOOGLE_DCHECK_NE(&from, this);
    2504           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2505           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2506             :   (void) cached_has_bits;
    2507             : 
    2508           0 :   if (from.type().size() > 0) {
    2509             : 
    2510           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    2511             :   }
    2512           0 : }
    2513             : 
    2514           0 : void FileInfo::CopyFrom(const ::google::protobuf::Message& from) {
    2515             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.FileInfo)
    2516           0 :   if (&from == this) return;
    2517           0 :   Clear();
    2518           0 :   MergeFrom(from);
    2519             : }
    2520             : 
    2521           0 : void FileInfo::CopyFrom(const FileInfo& from) {
    2522             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.FileInfo)
    2523           0 :   if (&from == this) return;
    2524           0 :   Clear();
    2525           0 :   MergeFrom(from);
    2526             : }
    2527             : 
    2528           0 : bool FileInfo::IsInitialized() const {
    2529           0 :   return true;
    2530             : }
    2531             : 
    2532           0 : void FileInfo::Swap(FileInfo* other) {
    2533           0 :   if (other == this) return;
    2534           0 :   InternalSwap(other);
    2535             : }
    2536           0 : void FileInfo::InternalSwap(FileInfo* other) {
    2537             :   using std::swap;
    2538           0 :   type_.Swap(&other->type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    2539             :     GetArenaNoVirtual());
    2540           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    2541           0 : }
    2542             : 
    2543           0 : ::google::protobuf::Metadata FileInfo::GetMetadata() const {
    2544           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2545           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    2546             : }
    2547             : 
    2548             : 
    2549             : // ===================================================================
    2550             : 
    2551          11 : void KeyInfo::InitAsDefaultInstance() {
    2552          11 : }
    2553             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    2554             : const int KeyInfo::kTypeFieldNumber;
    2555             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    2556             : 
    2557          11 : KeyInfo::KeyInfo()
    2558          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    2559          11 :   ::google::protobuf::internal::InitSCC(
    2560             :       &protobuf_img_2eproto::scc_info_KeyInfo.base);
    2561          11 :   SharedCtor();
    2562             :   // @@protoc_insertion_point(constructor:rpc.img.KeyInfo)
    2563          11 : }
    2564           0 : KeyInfo::KeyInfo(const KeyInfo& from)
    2565             :   : ::google::protobuf::Message(),
    2566           0 :       _internal_metadata_(NULL) {
    2567           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2568           0 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2569           0 :   if (from.type().size() > 0) {
    2570           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    2571             :   }
    2572             :   // @@protoc_insertion_point(copy_constructor:rpc.img.KeyInfo)
    2573           0 : }
    2574             : 
    2575          11 : void KeyInfo::SharedCtor() {
    2576          11 :   type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2577          11 : }
    2578             : 
    2579           0 : KeyInfo::~KeyInfo() {
    2580             :   // @@protoc_insertion_point(destructor:rpc.img.KeyInfo)
    2581           0 :   SharedDtor();
    2582           0 : }
    2583             : 
    2584           0 : void KeyInfo::SharedDtor() {
    2585           0 :   type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2586           0 : }
    2587             : 
    2588           0 : void KeyInfo::SetCachedSize(int size) const {
    2589           0 :   _cached_size_.Set(size);
    2590           0 : }
    2591           0 : const ::google::protobuf::Descriptor* KeyInfo::descriptor() {
    2592           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2593           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    2594             : }
    2595             : 
    2596           0 : const KeyInfo& KeyInfo::default_instance() {
    2597           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_KeyInfo.base);
    2598           0 :   return *internal_default_instance();
    2599             : }
    2600             : 
    2601             : 
    2602           0 : void KeyInfo::Clear() {
    2603             : // @@protoc_insertion_point(message_clear_start:rpc.img.KeyInfo)
    2604           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2605             :   // Prevent compiler warnings about cached_has_bits being unused
    2606             :   (void) cached_has_bits;
    2607             : 
    2608           0 :   type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2609           0 :   _internal_metadata_.Clear();
    2610           0 : }
    2611             : 
    2612           0 : bool KeyInfo::MergePartialFromCodedStream(
    2613             :     ::google::protobuf::io::CodedInputStream* input) {
    2614             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    2615             :   ::google::protobuf::uint32 tag;
    2616             :   // @@protoc_insertion_point(parse_start:rpc.img.KeyInfo)
    2617             :   for (;;) {
    2618             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    2619           0 :     tag = p.first;
    2620           0 :     if (!p.second) goto handle_unusual;
    2621           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    2622             :       // string type = 1;
    2623           0 :       case 1: {
    2624           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2625             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    2626           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    2627             :                 input, this->mutable_type()));
    2628           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2629             :             this->type().data(), static_cast<int>(this->type().length()),
    2630             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    2631             :             "rpc.img.KeyInfo.type"));
    2632             :         } else {
    2633           0 :           goto handle_unusual;
    2634             :         }
    2635           0 :         break;
    2636             :       }
    2637             : 
    2638             :       default: {
    2639           0 :       handle_unusual:
    2640           0 :         if (tag == 0) {
    2641           0 :           goto success;
    2642             :         }
    2643           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    2644             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    2645           0 :         break;
    2646             :       }
    2647             :     }
    2648           0 :   }
    2649           0 : success:
    2650             :   // @@protoc_insertion_point(parse_success:rpc.img.KeyInfo)
    2651           0 :   return true;
    2652           0 : failure:
    2653             :   // @@protoc_insertion_point(parse_failure:rpc.img.KeyInfo)
    2654           0 :   return false;
    2655             : #undef DO_
    2656             : }
    2657             : 
    2658           0 : void KeyInfo::SerializeWithCachedSizes(
    2659             :     ::google::protobuf::io::CodedOutputStream* output) const {
    2660             :   // @@protoc_insertion_point(serialize_start:rpc.img.KeyInfo)
    2661           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2662             :   (void) cached_has_bits;
    2663             : 
    2664             :   // string type = 1;
    2665           0 :   if (this->type().size() > 0) {
    2666           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2667           0 :       this->type().data(), static_cast<int>(this->type().length()),
    2668             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2669             :       "rpc.img.KeyInfo.type");
    2670           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    2671             :       1, this->type(), output);
    2672             :   }
    2673             : 
    2674           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2675           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    2676           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    2677             :   }
    2678             :   // @@protoc_insertion_point(serialize_end:rpc.img.KeyInfo)
    2679           0 : }
    2680             : 
    2681           0 : ::google::protobuf::uint8* KeyInfo::InternalSerializeWithCachedSizesToArray(
    2682             :     bool deterministic, ::google::protobuf::uint8* target) const {
    2683             :   (void)deterministic; // Unused
    2684             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.KeyInfo)
    2685           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2686             :   (void) cached_has_bits;
    2687             : 
    2688             :   // string type = 1;
    2689           0 :   if (this->type().size() > 0) {
    2690           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2691           0 :       this->type().data(), static_cast<int>(this->type().length()),
    2692             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2693             :       "rpc.img.KeyInfo.type");
    2694             :     target =
    2695           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    2696             :         1, this->type(), target);
    2697             :   }
    2698             : 
    2699           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2700           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    2701           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    2702             :   }
    2703             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.KeyInfo)
    2704           0 :   return target;
    2705             : }
    2706             : 
    2707           0 : size_t KeyInfo::ByteSizeLong() const {
    2708             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.KeyInfo)
    2709           0 :   size_t total_size = 0;
    2710             : 
    2711           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2712           0 :     total_size +=
    2713           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    2714           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    2715             :   }
    2716             :   // string type = 1;
    2717           0 :   if (this->type().size() > 0) {
    2718           0 :     total_size += 1 +
    2719           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    2720             :         this->type());
    2721             :   }
    2722             : 
    2723           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    2724           0 :   SetCachedSize(cached_size);
    2725           0 :   return total_size;
    2726             : }
    2727             : 
    2728           0 : void KeyInfo::MergeFrom(const ::google::protobuf::Message& from) {
    2729             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.KeyInfo)
    2730           0 :   GOOGLE_DCHECK_NE(&from, this);
    2731             :   const KeyInfo* source =
    2732           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const KeyInfo>(
    2733             :           &from);
    2734           0 :   if (source == NULL) {
    2735             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.KeyInfo)
    2736           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    2737             :   } else {
    2738             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.KeyInfo)
    2739           0 :     MergeFrom(*source);
    2740             :   }
    2741           0 : }
    2742             : 
    2743           0 : void KeyInfo::MergeFrom(const KeyInfo& from) {
    2744             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.KeyInfo)
    2745           0 :   GOOGLE_DCHECK_NE(&from, this);
    2746           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2747           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2748             :   (void) cached_has_bits;
    2749             : 
    2750           0 :   if (from.type().size() > 0) {
    2751             : 
    2752           0 :     type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_);
    2753             :   }
    2754           0 : }
    2755             : 
    2756           0 : void KeyInfo::CopyFrom(const ::google::protobuf::Message& from) {
    2757             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.KeyInfo)
    2758           0 :   if (&from == this) return;
    2759           0 :   Clear();
    2760           0 :   MergeFrom(from);
    2761             : }
    2762             : 
    2763           0 : void KeyInfo::CopyFrom(const KeyInfo& from) {
    2764             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.KeyInfo)
    2765           0 :   if (&from == this) return;
    2766           0 :   Clear();
    2767           0 :   MergeFrom(from);
    2768             : }
    2769             : 
    2770           0 : bool KeyInfo::IsInitialized() const {
    2771           0 :   return true;
    2772             : }
    2773             : 
    2774           0 : void KeyInfo::Swap(KeyInfo* other) {
    2775           0 :   if (other == this) return;
    2776           0 :   InternalSwap(other);
    2777             : }
    2778           0 : void KeyInfo::InternalSwap(KeyInfo* other) {
    2779             :   using std::swap;
    2780           0 :   type_.Swap(&other->type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    2781             :     GetArenaNoVirtual());
    2782           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    2783           0 : }
    2784             : 
    2785           0 : ::google::protobuf::Metadata KeyInfo::GetMetadata() const {
    2786           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2787           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    2788             : }
    2789             : 
    2790             : 
    2791             : // ===================================================================
    2792             : 
    2793          11 : void Path::InitAsDefaultInstance() {
    2794          11 : }
    2795             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    2796             : const int Path::kPathFieldNumber;
    2797             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    2798             : 
    2799          11 : Path::Path()
    2800          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    2801          11 :   ::google::protobuf::internal::InitSCC(
    2802             :       &protobuf_img_2eproto::scc_info_Path.base);
    2803          11 :   SharedCtor();
    2804             :   // @@protoc_insertion_point(constructor:rpc.img.Path)
    2805          11 : }
    2806           0 : Path::Path(const Path& from)
    2807             :   : ::google::protobuf::Message(),
    2808           0 :       _internal_metadata_(NULL) {
    2809           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2810           0 :   path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2811           0 :   if (from.path().size() > 0) {
    2812           0 :     path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
    2813             :   }
    2814             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Path)
    2815           0 : }
    2816             : 
    2817          11 : void Path::SharedCtor() {
    2818          11 :   path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2819          11 : }
    2820             : 
    2821           0 : Path::~Path() {
    2822             :   // @@protoc_insertion_point(destructor:rpc.img.Path)
    2823           0 :   SharedDtor();
    2824           0 : }
    2825             : 
    2826           0 : void Path::SharedDtor() {
    2827           0 :   path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2828           0 : }
    2829             : 
    2830           0 : void Path::SetCachedSize(int size) const {
    2831           0 :   _cached_size_.Set(size);
    2832           0 : }
    2833           0 : const ::google::protobuf::Descriptor* Path::descriptor() {
    2834           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    2835           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    2836             : }
    2837             : 
    2838           0 : const Path& Path::default_instance() {
    2839           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Path.base);
    2840           0 :   return *internal_default_instance();
    2841             : }
    2842             : 
    2843             : 
    2844           0 : void Path::Clear() {
    2845             : // @@protoc_insertion_point(message_clear_start:rpc.img.Path)
    2846           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2847             :   // Prevent compiler warnings about cached_has_bits being unused
    2848             :   (void) cached_has_bits;
    2849             : 
    2850           0 :   path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    2851           0 :   _internal_metadata_.Clear();
    2852           0 : }
    2853             : 
    2854           0 : bool Path::MergePartialFromCodedStream(
    2855             :     ::google::protobuf::io::CodedInputStream* input) {
    2856             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    2857             :   ::google::protobuf::uint32 tag;
    2858             :   // @@protoc_insertion_point(parse_start:rpc.img.Path)
    2859             :   for (;;) {
    2860             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    2861           0 :     tag = p.first;
    2862           0 :     if (!p.second) goto handle_unusual;
    2863           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    2864             :       // string path = 1;
    2865           0 :       case 1: {
    2866           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2867             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    2868           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    2869             :                 input, this->mutable_path()));
    2870           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2871             :             this->path().data(), static_cast<int>(this->path().length()),
    2872             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    2873             :             "rpc.img.Path.path"));
    2874             :         } else {
    2875           0 :           goto handle_unusual;
    2876             :         }
    2877           0 :         break;
    2878             :       }
    2879             : 
    2880             :       default: {
    2881           0 :       handle_unusual:
    2882           0 :         if (tag == 0) {
    2883           0 :           goto success;
    2884             :         }
    2885           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    2886             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    2887           0 :         break;
    2888             :       }
    2889             :     }
    2890           0 :   }
    2891           0 : success:
    2892             :   // @@protoc_insertion_point(parse_success:rpc.img.Path)
    2893           0 :   return true;
    2894           0 : failure:
    2895             :   // @@protoc_insertion_point(parse_failure:rpc.img.Path)
    2896           0 :   return false;
    2897             : #undef DO_
    2898             : }
    2899             : 
    2900           0 : void Path::SerializeWithCachedSizes(
    2901             :     ::google::protobuf::io::CodedOutputStream* output) const {
    2902             :   // @@protoc_insertion_point(serialize_start:rpc.img.Path)
    2903           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2904             :   (void) cached_has_bits;
    2905             : 
    2906             :   // string path = 1;
    2907           0 :   if (this->path().size() > 0) {
    2908           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2909           0 :       this->path().data(), static_cast<int>(this->path().length()),
    2910             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2911             :       "rpc.img.Path.path");
    2912           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    2913             :       1, this->path(), output);
    2914             :   }
    2915             : 
    2916           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2917           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    2918           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    2919             :   }
    2920             :   // @@protoc_insertion_point(serialize_end:rpc.img.Path)
    2921           0 : }
    2922             : 
    2923           0 : ::google::protobuf::uint8* Path::InternalSerializeWithCachedSizesToArray(
    2924             :     bool deterministic, ::google::protobuf::uint8* target) const {
    2925             :   (void)deterministic; // Unused
    2926             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Path)
    2927           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2928             :   (void) cached_has_bits;
    2929             : 
    2930             :   // string path = 1;
    2931           0 :   if (this->path().size() > 0) {
    2932           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    2933           0 :       this->path().data(), static_cast<int>(this->path().length()),
    2934             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    2935             :       "rpc.img.Path.path");
    2936             :     target =
    2937           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    2938             :         1, this->path(), target);
    2939             :   }
    2940             : 
    2941           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2942           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    2943           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    2944             :   }
    2945             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Path)
    2946           0 :   return target;
    2947             : }
    2948             : 
    2949           0 : size_t Path::ByteSizeLong() const {
    2950             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Path)
    2951           0 :   size_t total_size = 0;
    2952             : 
    2953           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2954           0 :     total_size +=
    2955           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    2956           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    2957             :   }
    2958             :   // string path = 1;
    2959           0 :   if (this->path().size() > 0) {
    2960           0 :     total_size += 1 +
    2961           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    2962             :         this->path());
    2963             :   }
    2964             : 
    2965           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    2966           0 :   SetCachedSize(cached_size);
    2967           0 :   return total_size;
    2968             : }
    2969             : 
    2970           0 : void Path::MergeFrom(const ::google::protobuf::Message& from) {
    2971             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Path)
    2972           0 :   GOOGLE_DCHECK_NE(&from, this);
    2973             :   const Path* source =
    2974           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Path>(
    2975             :           &from);
    2976           0 :   if (source == NULL) {
    2977             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Path)
    2978           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    2979             :   } else {
    2980             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Path)
    2981           0 :     MergeFrom(*source);
    2982             :   }
    2983           0 : }
    2984             : 
    2985           0 : void Path::MergeFrom(const Path& from) {
    2986             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Path)
    2987           0 :   GOOGLE_DCHECK_NE(&from, this);
    2988           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2989           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2990             :   (void) cached_has_bits;
    2991             : 
    2992           0 :   if (from.path().size() > 0) {
    2993             : 
    2994           0 :     path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.path_);
    2995             :   }
    2996           0 : }
    2997             : 
    2998           0 : void Path::CopyFrom(const ::google::protobuf::Message& from) {
    2999             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Path)
    3000           0 :   if (&from == this) return;
    3001           0 :   Clear();
    3002           0 :   MergeFrom(from);
    3003             : }
    3004             : 
    3005           0 : void Path::CopyFrom(const Path& from) {
    3006             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Path)
    3007           0 :   if (&from == this) return;
    3008           0 :   Clear();
    3009           0 :   MergeFrom(from);
    3010             : }
    3011             : 
    3012           0 : bool Path::IsInitialized() const {
    3013           0 :   return true;
    3014             : }
    3015             : 
    3016           0 : void Path::Swap(Path* other) {
    3017           0 :   if (other == this) return;
    3018           0 :   InternalSwap(other);
    3019             : }
    3020           0 : void Path::InternalSwap(Path* other) {
    3021             :   using std::swap;
    3022           0 :   path_.Swap(&other->path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    3023             :     GetArenaNoVirtual());
    3024           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    3025           0 : }
    3026             : 
    3027           0 : ::google::protobuf::Metadata Path::GetMetadata() const {
    3028           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    3029           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    3030             : }
    3031             : 
    3032             : 
    3033             : // ===================================================================
    3034             : 
    3035          11 : void Coord2D::InitAsDefaultInstance() {
    3036          11 : }
    3037             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    3038             : const int Coord2D::kXFieldNumber;
    3039             : const int Coord2D::kYFieldNumber;
    3040             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    3041             : 
    3042          11 : Coord2D::Coord2D()
    3043          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    3044          11 :   ::google::protobuf::internal::InitSCC(
    3045             :       &protobuf_img_2eproto::scc_info_Coord2D.base);
    3046          11 :   SharedCtor();
    3047             :   // @@protoc_insertion_point(constructor:rpc.img.Coord2D)
    3048          11 : }
    3049           0 : Coord2D::Coord2D(const Coord2D& from)
    3050             :   : ::google::protobuf::Message(),
    3051           0 :       _internal_metadata_(NULL) {
    3052           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    3053           0 :   ::memcpy(&x_, &from.x_,
    3054             :     static_cast<size_t>(reinterpret_cast<char*>(&y_) -
    3055             :     reinterpret_cast<char*>(&x_)) + sizeof(y_));
    3056             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Coord2D)
    3057           0 : }
    3058             : 
    3059          11 : void Coord2D::SharedCtor() {
    3060          11 :   ::memset(&x_, 0, static_cast<size_t>(
    3061             :       reinterpret_cast<char*>(&y_) -
    3062             :       reinterpret_cast<char*>(&x_)) + sizeof(y_));
    3063          11 : }
    3064             : 
    3065           0 : Coord2D::~Coord2D() {
    3066             :   // @@protoc_insertion_point(destructor:rpc.img.Coord2D)
    3067           0 :   SharedDtor();
    3068           0 : }
    3069             : 
    3070           0 : void Coord2D::SharedDtor() {
    3071           0 : }
    3072             : 
    3073           0 : void Coord2D::SetCachedSize(int size) const {
    3074           0 :   _cached_size_.Set(size);
    3075           0 : }
    3076           0 : const ::google::protobuf::Descriptor* Coord2D::descriptor() {
    3077           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    3078           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    3079             : }
    3080             : 
    3081           0 : const Coord2D& Coord2D::default_instance() {
    3082           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Coord2D.base);
    3083           0 :   return *internal_default_instance();
    3084             : }
    3085             : 
    3086             : 
    3087           0 : void Coord2D::Clear() {
    3088             : // @@protoc_insertion_point(message_clear_start:rpc.img.Coord2D)
    3089           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3090             :   // Prevent compiler warnings about cached_has_bits being unused
    3091             :   (void) cached_has_bits;
    3092             : 
    3093           0 :   ::memset(&x_, 0, static_cast<size_t>(
    3094             :       reinterpret_cast<char*>(&y_) -
    3095             :       reinterpret_cast<char*>(&x_)) + sizeof(y_));
    3096           0 :   _internal_metadata_.Clear();
    3097           0 : }
    3098             : 
    3099           0 : bool Coord2D::MergePartialFromCodedStream(
    3100             :     ::google::protobuf::io::CodedInputStream* input) {
    3101             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    3102             :   ::google::protobuf::uint32 tag;
    3103             :   // @@protoc_insertion_point(parse_start:rpc.img.Coord2D)
    3104             :   for (;;) {
    3105             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    3106           0 :     tag = p.first;
    3107           0 :     if (!p.second) goto handle_unusual;
    3108           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    3109             :       // float x = 1;
    3110           0 :       case 1: {
    3111           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3112             :             static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
    3113             : 
    3114           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    3115             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    3116             :                  input, &x_)));
    3117             :         } else {
    3118           0 :           goto handle_unusual;
    3119             :         }
    3120           0 :         break;
    3121             :       }
    3122             : 
    3123             :       // float y = 2;
    3124           0 :       case 2: {
    3125           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3126             :             static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
    3127             : 
    3128           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    3129             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    3130             :                  input, &y_)));
    3131             :         } else {
    3132           0 :           goto handle_unusual;
    3133             :         }
    3134           0 :         break;
    3135             :       }
    3136             : 
    3137             :       default: {
    3138           0 :       handle_unusual:
    3139           0 :         if (tag == 0) {
    3140           0 :           goto success;
    3141             :         }
    3142           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    3143             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    3144           0 :         break;
    3145             :       }
    3146             :     }
    3147           0 :   }
    3148           0 : success:
    3149             :   // @@protoc_insertion_point(parse_success:rpc.img.Coord2D)
    3150           0 :   return true;
    3151           0 : failure:
    3152             :   // @@protoc_insertion_point(parse_failure:rpc.img.Coord2D)
    3153           0 :   return false;
    3154             : #undef DO_
    3155             : }
    3156             : 
    3157           0 : void Coord2D::SerializeWithCachedSizes(
    3158             :     ::google::protobuf::io::CodedOutputStream* output) const {
    3159             :   // @@protoc_insertion_point(serialize_start:rpc.img.Coord2D)
    3160           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3161             :   (void) cached_has_bits;
    3162             : 
    3163             :   // float x = 1;
    3164           0 :   if (this->x() != 0) {
    3165           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output);
    3166             :   }
    3167             : 
    3168             :   // float y = 2;
    3169           0 :   if (this->y() != 0) {
    3170           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output);
    3171             :   }
    3172             : 
    3173           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    3174           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    3175           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    3176             :   }
    3177             :   // @@protoc_insertion_point(serialize_end:rpc.img.Coord2D)
    3178           0 : }
    3179             : 
    3180           0 : ::google::protobuf::uint8* Coord2D::InternalSerializeWithCachedSizesToArray(
    3181             :     bool deterministic, ::google::protobuf::uint8* target) const {
    3182             :   (void)deterministic; // Unused
    3183             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Coord2D)
    3184           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3185             :   (void) cached_has_bits;
    3186             : 
    3187             :   // float x = 1;
    3188           0 :   if (this->x() != 0) {
    3189           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target);
    3190             :   }
    3191             : 
    3192             :   // float y = 2;
    3193           0 :   if (this->y() != 0) {
    3194           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target);
    3195             :   }
    3196             : 
    3197           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    3198           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    3199           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    3200             :   }
    3201             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Coord2D)
    3202           0 :   return target;
    3203             : }
    3204             : 
    3205           0 : size_t Coord2D::ByteSizeLong() const {
    3206             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Coord2D)
    3207           0 :   size_t total_size = 0;
    3208             : 
    3209           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    3210           0 :     total_size +=
    3211           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    3212           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    3213             :   }
    3214             :   // float x = 1;
    3215           0 :   if (this->x() != 0) {
    3216           0 :     total_size += 1 + 4;
    3217             :   }
    3218             : 
    3219             :   // float y = 2;
    3220           0 :   if (this->y() != 0) {
    3221           0 :     total_size += 1 + 4;
    3222             :   }
    3223             : 
    3224           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    3225           0 :   SetCachedSize(cached_size);
    3226           0 :   return total_size;
    3227             : }
    3228             : 
    3229           0 : void Coord2D::MergeFrom(const ::google::protobuf::Message& from) {
    3230             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Coord2D)
    3231           0 :   GOOGLE_DCHECK_NE(&from, this);
    3232             :   const Coord2D* source =
    3233           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Coord2D>(
    3234             :           &from);
    3235           0 :   if (source == NULL) {
    3236             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Coord2D)
    3237           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    3238             :   } else {
    3239             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Coord2D)
    3240           0 :     MergeFrom(*source);
    3241             :   }
    3242           0 : }
    3243             : 
    3244           0 : void Coord2D::MergeFrom(const Coord2D& from) {
    3245             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Coord2D)
    3246           0 :   GOOGLE_DCHECK_NE(&from, this);
    3247           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    3248           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3249             :   (void) cached_has_bits;
    3250             : 
    3251           0 :   if (from.x() != 0) {
    3252           0 :     set_x(from.x());
    3253             :   }
    3254           0 :   if (from.y() != 0) {
    3255           0 :     set_y(from.y());
    3256             :   }
    3257           0 : }
    3258             : 
    3259           0 : void Coord2D::CopyFrom(const ::google::protobuf::Message& from) {
    3260             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Coord2D)
    3261           0 :   if (&from == this) return;
    3262           0 :   Clear();
    3263           0 :   MergeFrom(from);
    3264             : }
    3265             : 
    3266           0 : void Coord2D::CopyFrom(const Coord2D& from) {
    3267             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Coord2D)
    3268           0 :   if (&from == this) return;
    3269           0 :   Clear();
    3270           0 :   MergeFrom(from);
    3271             : }
    3272             : 
    3273           0 : bool Coord2D::IsInitialized() const {
    3274           0 :   return true;
    3275             : }
    3276             : 
    3277           0 : void Coord2D::Swap(Coord2D* other) {
    3278           0 :   if (other == this) return;
    3279           0 :   InternalSwap(other);
    3280             : }
    3281           0 : void Coord2D::InternalSwap(Coord2D* other) {
    3282             :   using std::swap;
    3283           0 :   swap(x_, other->x_);
    3284           0 :   swap(y_, other->y_);
    3285           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    3286           0 : }
    3287             : 
    3288           0 : ::google::protobuf::Metadata Coord2D::GetMetadata() const {
    3289           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    3290           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    3291             : }
    3292             : 
    3293             : 
    3294             : // ===================================================================
    3295             : 
    3296          11 : void Output::InitAsDefaultInstance() {
    3297          11 :   ::rpc::img::_Output_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    3298          11 :       ::rpc::img::Id::internal_default_instance());
    3299          11 : }
    3300             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    3301             : const int Output::kPanelFieldNumber;
    3302             : const int Output::kDeviceFieldNumber;
    3303             : const int Output::kDevicetypeFieldNumber;
    3304             : const int Output::kOrientationFieldNumber;
    3305             : const int Output::kMediaFieldNumber;
    3306             : const int Output::kFormatFieldNumber;
    3307             : const int Output::kScaleFieldNumber;
    3308             : const int Output::kDpiFieldNumber;
    3309             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    3310             : 
    3311          11 : Output::Output()
    3312          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    3313          11 :   ::google::protobuf::internal::InitSCC(
    3314             :       &protobuf_img_2eproto::scc_info_Output.base);
    3315          11 :   SharedCtor();
    3316             :   // @@protoc_insertion_point(constructor:rpc.img.Output)
    3317          11 : }
    3318           0 : Output::Output(const Output& from)
    3319             :   : ::google::protobuf::Message(),
    3320           0 :       _internal_metadata_(NULL) {
    3321           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    3322           0 :   device_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3323           0 :   if (from.device().size() > 0) {
    3324           0 :     device_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_);
    3325             :   }
    3326           0 :   devicetype_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3327           0 :   if (from.devicetype().size() > 0) {
    3328           0 :     devicetype_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.devicetype_);
    3329             :   }
    3330           0 :   orientation_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3331           0 :   if (from.orientation().size() > 0) {
    3332           0 :     orientation_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.orientation_);
    3333             :   }
    3334           0 :   media_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3335           0 :   if (from.media().size() > 0) {
    3336           0 :     media_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.media_);
    3337             :   }
    3338           0 :   format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3339           0 :   if (from.format().size() > 0) {
    3340           0 :     format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_);
    3341             :   }
    3342           0 :   if (from.has_panel()) {
    3343           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    3344             :   } else {
    3345           0 :     panel_ = NULL;
    3346             :   }
    3347           0 :   ::memcpy(&scale_, &from.scale_,
    3348             :     static_cast<size_t>(reinterpret_cast<char*>(&dpi_) -
    3349             :     reinterpret_cast<char*>(&scale_)) + sizeof(dpi_));
    3350             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Output)
    3351           0 : }
    3352             : 
    3353          11 : void Output::SharedCtor() {
    3354          11 :   device_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3355          11 :   devicetype_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3356          11 :   orientation_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3357          11 :   media_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3358          11 :   format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3359          11 :   ::memset(&panel_, 0, static_cast<size_t>(
    3360             :       reinterpret_cast<char*>(&dpi_) -
    3361             :       reinterpret_cast<char*>(&panel_)) + sizeof(dpi_));
    3362          11 : }
    3363             : 
    3364           0 : Output::~Output() {
    3365             :   // @@protoc_insertion_point(destructor:rpc.img.Output)
    3366           0 :   SharedDtor();
    3367           0 : }
    3368             : 
    3369           0 : void Output::SharedDtor() {
    3370           0 :   device_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3371           0 :   devicetype_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3372           0 :   orientation_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3373           0 :   media_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3374           0 :   format_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3375           0 :   if (this != internal_default_instance()) delete panel_;
    3376           0 : }
    3377             : 
    3378           0 : void Output::SetCachedSize(int size) const {
    3379           0 :   _cached_size_.Set(size);
    3380           0 : }
    3381           0 : const ::google::protobuf::Descriptor* Output::descriptor() {
    3382           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    3383           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    3384             : }
    3385             : 
    3386           0 : const Output& Output::default_instance() {
    3387           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Output.base);
    3388           0 :   return *internal_default_instance();
    3389             : }
    3390             : 
    3391             : 
    3392           0 : void Output::Clear() {
    3393             : // @@protoc_insertion_point(message_clear_start:rpc.img.Output)
    3394           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3395             :   // Prevent compiler warnings about cached_has_bits being unused
    3396             :   (void) cached_has_bits;
    3397             : 
    3398           0 :   device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3399           0 :   devicetype_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3400           0 :   orientation_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3401           0 :   media_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3402           0 :   format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    3403           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    3404           0 :     delete panel_;
    3405             :   }
    3406           0 :   panel_ = NULL;
    3407           0 :   ::memset(&scale_, 0, static_cast<size_t>(
    3408             :       reinterpret_cast<char*>(&dpi_) -
    3409             :       reinterpret_cast<char*>(&scale_)) + sizeof(dpi_));
    3410           0 :   _internal_metadata_.Clear();
    3411           0 : }
    3412             : 
    3413           0 : bool Output::MergePartialFromCodedStream(
    3414             :     ::google::protobuf::io::CodedInputStream* input) {
    3415             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    3416             :   ::google::protobuf::uint32 tag;
    3417             :   // @@protoc_insertion_point(parse_start:rpc.img.Output)
    3418             :   for (;;) {
    3419             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    3420           0 :     tag = p.first;
    3421           0 :     if (!p.second) goto handle_unusual;
    3422           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    3423             :       // .rpc.img.Id panel = 1;
    3424           0 :       case 1: {
    3425           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3426             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    3427           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    3428             :                input, mutable_panel()));
    3429             :         } else {
    3430           0 :           goto handle_unusual;
    3431             :         }
    3432           0 :         break;
    3433             :       }
    3434             : 
    3435             :       // string device = 2;
    3436           0 :       case 2: {
    3437           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3438             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    3439           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    3440             :                 input, this->mutable_device()));
    3441           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3442             :             this->device().data(), static_cast<int>(this->device().length()),
    3443             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    3444             :             "rpc.img.Output.device"));
    3445             :         } else {
    3446           0 :           goto handle_unusual;
    3447             :         }
    3448           0 :         break;
    3449             :       }
    3450             : 
    3451             :       // string devicetype = 3;
    3452           0 :       case 3: {
    3453           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3454             :             static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
    3455           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    3456             :                 input, this->mutable_devicetype()));
    3457           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3458             :             this->devicetype().data(), static_cast<int>(this->devicetype().length()),
    3459             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    3460             :             "rpc.img.Output.devicetype"));
    3461             :         } else {
    3462           0 :           goto handle_unusual;
    3463             :         }
    3464           0 :         break;
    3465             :       }
    3466             : 
    3467             :       // string orientation = 4;
    3468           0 :       case 4: {
    3469           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3470             :             static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
    3471           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    3472             :                 input, this->mutable_orientation()));
    3473           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3474             :             this->orientation().data(), static_cast<int>(this->orientation().length()),
    3475             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    3476             :             "rpc.img.Output.orientation"));
    3477             :         } else {
    3478           0 :           goto handle_unusual;
    3479             :         }
    3480           0 :         break;
    3481             :       }
    3482             : 
    3483             :       // string media = 5;
    3484           0 :       case 5: {
    3485           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3486             :             static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
    3487           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    3488             :                 input, this->mutable_media()));
    3489           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3490             :             this->media().data(), static_cast<int>(this->media().length()),
    3491             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    3492             :             "rpc.img.Output.media"));
    3493             :         } else {
    3494           0 :           goto handle_unusual;
    3495             :         }
    3496           0 :         break;
    3497             :       }
    3498             : 
    3499             :       // string format = 6;
    3500           0 :       case 6: {
    3501           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3502             :             static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
    3503           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    3504             :                 input, this->mutable_format()));
    3505           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3506             :             this->format().data(), static_cast<int>(this->format().length()),
    3507             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    3508             :             "rpc.img.Output.format"));
    3509             :         } else {
    3510           0 :           goto handle_unusual;
    3511             :         }
    3512           0 :         break;
    3513             :       }
    3514             : 
    3515             :       // float scale = 7;
    3516           0 :       case 7: {
    3517           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3518             :             static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
    3519             : 
    3520           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    3521             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    3522             :                  input, &scale_)));
    3523             :         } else {
    3524           0 :           goto handle_unusual;
    3525             :         }
    3526           0 :         break;
    3527             :       }
    3528             : 
    3529             :       // int32 dpi = 8;
    3530           0 :       case 8: {
    3531           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3532             :             static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
    3533             : 
    3534           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    3535             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
    3536             :                  input, &dpi_)));
    3537             :         } else {
    3538           0 :           goto handle_unusual;
    3539             :         }
    3540           0 :         break;
    3541             :       }
    3542             : 
    3543             :       default: {
    3544           0 :       handle_unusual:
    3545           0 :         if (tag == 0) {
    3546           0 :           goto success;
    3547             :         }
    3548           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    3549             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    3550           0 :         break;
    3551             :       }
    3552             :     }
    3553           0 :   }
    3554           0 : success:
    3555             :   // @@protoc_insertion_point(parse_success:rpc.img.Output)
    3556           0 :   return true;
    3557           0 : failure:
    3558             :   // @@protoc_insertion_point(parse_failure:rpc.img.Output)
    3559           0 :   return false;
    3560             : #undef DO_
    3561             : }
    3562             : 
    3563           0 : void Output::SerializeWithCachedSizes(
    3564             :     ::google::protobuf::io::CodedOutputStream* output) const {
    3565             :   // @@protoc_insertion_point(serialize_start:rpc.img.Output)
    3566           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3567             :   (void) cached_has_bits;
    3568             : 
    3569             :   // .rpc.img.Id panel = 1;
    3570           0 :   if (this->has_panel()) {
    3571           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    3572           0 :       1, this->_internal_panel(), output);
    3573             :   }
    3574             : 
    3575             :   // string device = 2;
    3576           0 :   if (this->device().size() > 0) {
    3577           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3578           0 :       this->device().data(), static_cast<int>(this->device().length()),
    3579             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3580             :       "rpc.img.Output.device");
    3581           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    3582             :       2, this->device(), output);
    3583             :   }
    3584             : 
    3585             :   // string devicetype = 3;
    3586           0 :   if (this->devicetype().size() > 0) {
    3587           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3588           0 :       this->devicetype().data(), static_cast<int>(this->devicetype().length()),
    3589             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3590             :       "rpc.img.Output.devicetype");
    3591           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    3592             :       3, this->devicetype(), output);
    3593             :   }
    3594             : 
    3595             :   // string orientation = 4;
    3596           0 :   if (this->orientation().size() > 0) {
    3597           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3598           0 :       this->orientation().data(), static_cast<int>(this->orientation().length()),
    3599             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3600             :       "rpc.img.Output.orientation");
    3601           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    3602             :       4, this->orientation(), output);
    3603             :   }
    3604             : 
    3605             :   // string media = 5;
    3606           0 :   if (this->media().size() > 0) {
    3607           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3608           0 :       this->media().data(), static_cast<int>(this->media().length()),
    3609             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3610             :       "rpc.img.Output.media");
    3611           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    3612             :       5, this->media(), output);
    3613             :   }
    3614             : 
    3615             :   // string format = 6;
    3616           0 :   if (this->format().size() > 0) {
    3617           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3618           0 :       this->format().data(), static_cast<int>(this->format().length()),
    3619             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3620             :       "rpc.img.Output.format");
    3621           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    3622             :       6, this->format(), output);
    3623             :   }
    3624             : 
    3625             :   // float scale = 7;
    3626           0 :   if (this->scale() != 0) {
    3627           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->scale(), output);
    3628             :   }
    3629             : 
    3630             :   // int32 dpi = 8;
    3631           0 :   if (this->dpi() != 0) {
    3632           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->dpi(), output);
    3633             :   }
    3634             : 
    3635           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    3636           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    3637           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    3638             :   }
    3639             :   // @@protoc_insertion_point(serialize_end:rpc.img.Output)
    3640           0 : }
    3641             : 
    3642           0 : ::google::protobuf::uint8* Output::InternalSerializeWithCachedSizesToArray(
    3643             :     bool deterministic, ::google::protobuf::uint8* target) const {
    3644             :   (void)deterministic; // Unused
    3645             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Output)
    3646           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3647             :   (void) cached_has_bits;
    3648             : 
    3649             :   // .rpc.img.Id panel = 1;
    3650           0 :   if (this->has_panel()) {
    3651             :     target = ::google::protobuf::internal::WireFormatLite::
    3652           0 :       InternalWriteMessageToArray(
    3653             :         1, this->_internal_panel(), deterministic, target);
    3654             :   }
    3655             : 
    3656             :   // string device = 2;
    3657           0 :   if (this->device().size() > 0) {
    3658           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3659           0 :       this->device().data(), static_cast<int>(this->device().length()),
    3660             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3661             :       "rpc.img.Output.device");
    3662             :     target =
    3663           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    3664             :         2, this->device(), target);
    3665             :   }
    3666             : 
    3667             :   // string devicetype = 3;
    3668           0 :   if (this->devicetype().size() > 0) {
    3669           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3670           0 :       this->devicetype().data(), static_cast<int>(this->devicetype().length()),
    3671             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3672             :       "rpc.img.Output.devicetype");
    3673             :     target =
    3674           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    3675             :         3, this->devicetype(), target);
    3676             :   }
    3677             : 
    3678             :   // string orientation = 4;
    3679           0 :   if (this->orientation().size() > 0) {
    3680           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3681           0 :       this->orientation().data(), static_cast<int>(this->orientation().length()),
    3682             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3683             :       "rpc.img.Output.orientation");
    3684             :     target =
    3685           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    3686             :         4, this->orientation(), target);
    3687             :   }
    3688             : 
    3689             :   // string media = 5;
    3690           0 :   if (this->media().size() > 0) {
    3691           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3692           0 :       this->media().data(), static_cast<int>(this->media().length()),
    3693             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3694             :       "rpc.img.Output.media");
    3695             :     target =
    3696           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    3697             :         5, this->media(), target);
    3698             :   }
    3699             : 
    3700             :   // string format = 6;
    3701           0 :   if (this->format().size() > 0) {
    3702           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    3703           0 :       this->format().data(), static_cast<int>(this->format().length()),
    3704             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    3705             :       "rpc.img.Output.format");
    3706             :     target =
    3707           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    3708             :         6, this->format(), target);
    3709             :   }
    3710             : 
    3711             :   // float scale = 7;
    3712           0 :   if (this->scale() != 0) {
    3713           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->scale(), target);
    3714             :   }
    3715             : 
    3716             :   // int32 dpi = 8;
    3717           0 :   if (this->dpi() != 0) {
    3718           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->dpi(), target);
    3719             :   }
    3720             : 
    3721           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    3722           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    3723           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    3724             :   }
    3725             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Output)
    3726           0 :   return target;
    3727             : }
    3728             : 
    3729           0 : size_t Output::ByteSizeLong() const {
    3730             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Output)
    3731           0 :   size_t total_size = 0;
    3732             : 
    3733           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    3734           0 :     total_size +=
    3735           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    3736           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    3737             :   }
    3738             :   // string device = 2;
    3739           0 :   if (this->device().size() > 0) {
    3740           0 :     total_size += 1 +
    3741           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    3742             :         this->device());
    3743             :   }
    3744             : 
    3745             :   // string devicetype = 3;
    3746           0 :   if (this->devicetype().size() > 0) {
    3747           0 :     total_size += 1 +
    3748           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    3749             :         this->devicetype());
    3750             :   }
    3751             : 
    3752             :   // string orientation = 4;
    3753           0 :   if (this->orientation().size() > 0) {
    3754           0 :     total_size += 1 +
    3755           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    3756             :         this->orientation());
    3757             :   }
    3758             : 
    3759             :   // string media = 5;
    3760           0 :   if (this->media().size() > 0) {
    3761           0 :     total_size += 1 +
    3762           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    3763             :         this->media());
    3764             :   }
    3765             : 
    3766             :   // string format = 6;
    3767           0 :   if (this->format().size() > 0) {
    3768           0 :     total_size += 1 +
    3769           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    3770             :         this->format());
    3771             :   }
    3772             : 
    3773             :   // .rpc.img.Id panel = 1;
    3774           0 :   if (this->has_panel()) {
    3775           0 :     total_size += 1 +
    3776           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    3777           0 :         *panel_);
    3778             :   }
    3779             : 
    3780             :   // float scale = 7;
    3781           0 :   if (this->scale() != 0) {
    3782           0 :     total_size += 1 + 4;
    3783             :   }
    3784             : 
    3785             :   // int32 dpi = 8;
    3786           0 :   if (this->dpi() != 0) {
    3787           0 :     total_size += 1 +
    3788           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
    3789             :         this->dpi());
    3790             :   }
    3791             : 
    3792           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    3793           0 :   SetCachedSize(cached_size);
    3794           0 :   return total_size;
    3795             : }
    3796             : 
    3797           0 : void Output::MergeFrom(const ::google::protobuf::Message& from) {
    3798             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Output)
    3799           0 :   GOOGLE_DCHECK_NE(&from, this);
    3800             :   const Output* source =
    3801           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Output>(
    3802             :           &from);
    3803           0 :   if (source == NULL) {
    3804             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Output)
    3805           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    3806             :   } else {
    3807             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Output)
    3808           0 :     MergeFrom(*source);
    3809             :   }
    3810           0 : }
    3811             : 
    3812           0 : void Output::MergeFrom(const Output& from) {
    3813             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Output)
    3814           0 :   GOOGLE_DCHECK_NE(&from, this);
    3815           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    3816           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3817             :   (void) cached_has_bits;
    3818             : 
    3819           0 :   if (from.device().size() > 0) {
    3820             : 
    3821           0 :     device_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_);
    3822             :   }
    3823           0 :   if (from.devicetype().size() > 0) {
    3824             : 
    3825           0 :     devicetype_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.devicetype_);
    3826             :   }
    3827           0 :   if (from.orientation().size() > 0) {
    3828             : 
    3829           0 :     orientation_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.orientation_);
    3830             :   }
    3831           0 :   if (from.media().size() > 0) {
    3832             : 
    3833           0 :     media_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.media_);
    3834             :   }
    3835           0 :   if (from.format().size() > 0) {
    3836             : 
    3837           0 :     format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_);
    3838             :   }
    3839           0 :   if (from.has_panel()) {
    3840           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    3841             :   }
    3842           0 :   if (from.scale() != 0) {
    3843           0 :     set_scale(from.scale());
    3844             :   }
    3845           0 :   if (from.dpi() != 0) {
    3846           0 :     set_dpi(from.dpi());
    3847             :   }
    3848           0 : }
    3849             : 
    3850           0 : void Output::CopyFrom(const ::google::protobuf::Message& from) {
    3851             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Output)
    3852           0 :   if (&from == this) return;
    3853           0 :   Clear();
    3854           0 :   MergeFrom(from);
    3855             : }
    3856             : 
    3857           0 : void Output::CopyFrom(const Output& from) {
    3858             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Output)
    3859           0 :   if (&from == this) return;
    3860           0 :   Clear();
    3861           0 :   MergeFrom(from);
    3862             : }
    3863             : 
    3864           0 : bool Output::IsInitialized() const {
    3865           0 :   return true;
    3866             : }
    3867             : 
    3868           0 : void Output::Swap(Output* other) {
    3869           0 :   if (other == this) return;
    3870           0 :   InternalSwap(other);
    3871             : }
    3872           0 : void Output::InternalSwap(Output* other) {
    3873             :   using std::swap;
    3874           0 :   device_.Swap(&other->device_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    3875             :     GetArenaNoVirtual());
    3876           0 :   devicetype_.Swap(&other->devicetype_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    3877             :     GetArenaNoVirtual());
    3878           0 :   orientation_.Swap(&other->orientation_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    3879             :     GetArenaNoVirtual());
    3880           0 :   media_.Swap(&other->media_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    3881             :     GetArenaNoVirtual());
    3882           0 :   format_.Swap(&other->format_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    3883             :     GetArenaNoVirtual());
    3884           0 :   swap(panel_, other->panel_);
    3885           0 :   swap(scale_, other->scale_);
    3886           0 :   swap(dpi_, other->dpi_);
    3887           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    3888           0 : }
    3889             : 
    3890           0 : ::google::protobuf::Metadata Output::GetMetadata() const {
    3891           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    3892           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    3893             : }
    3894             : 
    3895             : 
    3896             : // ===================================================================
    3897             : 
    3898          11 : void SetChannel::InitAsDefaultInstance() {
    3899          11 :   ::rpc::img::_SetChannel_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    3900          11 :       ::rpc::img::Id::internal_default_instance());
    3901          11 : }
    3902             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    3903             : const int SetChannel::kPanelFieldNumber;
    3904             : const int SetChannel::kNumberFieldNumber;
    3905             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    3906             : 
    3907          11 : SetChannel::SetChannel()
    3908          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    3909          11 :   ::google::protobuf::internal::InitSCC(
    3910             :       &protobuf_img_2eproto::scc_info_SetChannel.base);
    3911          11 :   SharedCtor();
    3912             :   // @@protoc_insertion_point(constructor:rpc.img.SetChannel)
    3913          11 : }
    3914           0 : SetChannel::SetChannel(const SetChannel& from)
    3915             :   : ::google::protobuf::Message(),
    3916           0 :       _internal_metadata_(NULL) {
    3917           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    3918           0 :   if (from.has_panel()) {
    3919           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    3920             :   } else {
    3921           0 :     panel_ = NULL;
    3922             :   }
    3923           0 :   number_ = from.number_;
    3924             :   // @@protoc_insertion_point(copy_constructor:rpc.img.SetChannel)
    3925           0 : }
    3926             : 
    3927          11 : void SetChannel::SharedCtor() {
    3928          11 :   ::memset(&panel_, 0, static_cast<size_t>(
    3929             :       reinterpret_cast<char*>(&number_) -
    3930             :       reinterpret_cast<char*>(&panel_)) + sizeof(number_));
    3931          11 : }
    3932             : 
    3933           0 : SetChannel::~SetChannel() {
    3934             :   // @@protoc_insertion_point(destructor:rpc.img.SetChannel)
    3935           0 :   SharedDtor();
    3936           0 : }
    3937             : 
    3938           0 : void SetChannel::SharedDtor() {
    3939           0 :   if (this != internal_default_instance()) delete panel_;
    3940           0 : }
    3941             : 
    3942           0 : void SetChannel::SetCachedSize(int size) const {
    3943           0 :   _cached_size_.Set(size);
    3944           0 : }
    3945           0 : const ::google::protobuf::Descriptor* SetChannel::descriptor() {
    3946           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    3947           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    3948             : }
    3949             : 
    3950           0 : const SetChannel& SetChannel::default_instance() {
    3951           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_SetChannel.base);
    3952           0 :   return *internal_default_instance();
    3953             : }
    3954             : 
    3955             : 
    3956           0 : void SetChannel::Clear() {
    3957             : // @@protoc_insertion_point(message_clear_start:rpc.img.SetChannel)
    3958           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    3959             :   // Prevent compiler warnings about cached_has_bits being unused
    3960             :   (void) cached_has_bits;
    3961             : 
    3962           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    3963           0 :     delete panel_;
    3964             :   }
    3965           0 :   panel_ = NULL;
    3966           0 :   number_ = 0;
    3967           0 :   _internal_metadata_.Clear();
    3968           0 : }
    3969             : 
    3970           0 : bool SetChannel::MergePartialFromCodedStream(
    3971             :     ::google::protobuf::io::CodedInputStream* input) {
    3972             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    3973             :   ::google::protobuf::uint32 tag;
    3974             :   // @@protoc_insertion_point(parse_start:rpc.img.SetChannel)
    3975             :   for (;;) {
    3976             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    3977           0 :     tag = p.first;
    3978           0 :     if (!p.second) goto handle_unusual;
    3979           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    3980             :       // .rpc.img.Id panel = 1;
    3981           0 :       case 1: {
    3982           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3983             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    3984           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    3985             :                input, mutable_panel()));
    3986             :         } else {
    3987           0 :           goto handle_unusual;
    3988             :         }
    3989           0 :         break;
    3990             :       }
    3991             : 
    3992             :       // int32 number = 2;
    3993           0 :       case 2: {
    3994           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    3995             :             static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
    3996             : 
    3997           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    3998             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
    3999             :                  input, &number_)));
    4000             :         } else {
    4001           0 :           goto handle_unusual;
    4002             :         }
    4003           0 :         break;
    4004             :       }
    4005             : 
    4006             :       default: {
    4007           0 :       handle_unusual:
    4008           0 :         if (tag == 0) {
    4009           0 :           goto success;
    4010             :         }
    4011           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    4012             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    4013           0 :         break;
    4014             :       }
    4015             :     }
    4016           0 :   }
    4017           0 : success:
    4018             :   // @@protoc_insertion_point(parse_success:rpc.img.SetChannel)
    4019           0 :   return true;
    4020           0 : failure:
    4021             :   // @@protoc_insertion_point(parse_failure:rpc.img.SetChannel)
    4022           0 :   return false;
    4023             : #undef DO_
    4024             : }
    4025             : 
    4026           0 : void SetChannel::SerializeWithCachedSizes(
    4027             :     ::google::protobuf::io::CodedOutputStream* output) const {
    4028             :   // @@protoc_insertion_point(serialize_start:rpc.img.SetChannel)
    4029           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4030             :   (void) cached_has_bits;
    4031             : 
    4032             :   // .rpc.img.Id panel = 1;
    4033           0 :   if (this->has_panel()) {
    4034           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    4035           0 :       1, this->_internal_panel(), output);
    4036             :   }
    4037             : 
    4038             :   // int32 number = 2;
    4039           0 :   if (this->number() != 0) {
    4040           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->number(), output);
    4041             :   }
    4042             : 
    4043           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4044           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    4045           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    4046             :   }
    4047             :   // @@protoc_insertion_point(serialize_end:rpc.img.SetChannel)
    4048           0 : }
    4049             : 
    4050           0 : ::google::protobuf::uint8* SetChannel::InternalSerializeWithCachedSizesToArray(
    4051             :     bool deterministic, ::google::protobuf::uint8* target) const {
    4052             :   (void)deterministic; // Unused
    4053             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.SetChannel)
    4054           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4055             :   (void) cached_has_bits;
    4056             : 
    4057             :   // .rpc.img.Id panel = 1;
    4058           0 :   if (this->has_panel()) {
    4059             :     target = ::google::protobuf::internal::WireFormatLite::
    4060           0 :       InternalWriteMessageToArray(
    4061             :         1, this->_internal_panel(), deterministic, target);
    4062             :   }
    4063             : 
    4064             :   // int32 number = 2;
    4065           0 :   if (this->number() != 0) {
    4066           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->number(), target);
    4067             :   }
    4068             : 
    4069           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4070           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    4071           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    4072             :   }
    4073             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.SetChannel)
    4074           0 :   return target;
    4075             : }
    4076             : 
    4077           0 : size_t SetChannel::ByteSizeLong() const {
    4078             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.SetChannel)
    4079           0 :   size_t total_size = 0;
    4080             : 
    4081           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4082           0 :     total_size +=
    4083           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    4084           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    4085             :   }
    4086             :   // .rpc.img.Id panel = 1;
    4087           0 :   if (this->has_panel()) {
    4088           0 :     total_size += 1 +
    4089           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    4090           0 :         *panel_);
    4091             :   }
    4092             : 
    4093             :   // int32 number = 2;
    4094           0 :   if (this->number() != 0) {
    4095           0 :     total_size += 1 +
    4096           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
    4097             :         this->number());
    4098             :   }
    4099             : 
    4100           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    4101           0 :   SetCachedSize(cached_size);
    4102           0 :   return total_size;
    4103             : }
    4104             : 
    4105           0 : void SetChannel::MergeFrom(const ::google::protobuf::Message& from) {
    4106             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.SetChannel)
    4107           0 :   GOOGLE_DCHECK_NE(&from, this);
    4108             :   const SetChannel* source =
    4109           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const SetChannel>(
    4110             :           &from);
    4111           0 :   if (source == NULL) {
    4112             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.SetChannel)
    4113           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    4114             :   } else {
    4115             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.SetChannel)
    4116           0 :     MergeFrom(*source);
    4117             :   }
    4118           0 : }
    4119             : 
    4120           0 : void SetChannel::MergeFrom(const SetChannel& from) {
    4121             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.SetChannel)
    4122           0 :   GOOGLE_DCHECK_NE(&from, this);
    4123           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    4124           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4125             :   (void) cached_has_bits;
    4126             : 
    4127           0 :   if (from.has_panel()) {
    4128           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    4129             :   }
    4130           0 :   if (from.number() != 0) {
    4131           0 :     set_number(from.number());
    4132             :   }
    4133           0 : }
    4134             : 
    4135           0 : void SetChannel::CopyFrom(const ::google::protobuf::Message& from) {
    4136             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.SetChannel)
    4137           0 :   if (&from == this) return;
    4138           0 :   Clear();
    4139           0 :   MergeFrom(from);
    4140             : }
    4141             : 
    4142           0 : void SetChannel::CopyFrom(const SetChannel& from) {
    4143             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.SetChannel)
    4144           0 :   if (&from == this) return;
    4145           0 :   Clear();
    4146           0 :   MergeFrom(from);
    4147             : }
    4148             : 
    4149           0 : bool SetChannel::IsInitialized() const {
    4150           0 :   return true;
    4151             : }
    4152             : 
    4153           0 : void SetChannel::Swap(SetChannel* other) {
    4154           0 :   if (other == this) return;
    4155           0 :   InternalSwap(other);
    4156             : }
    4157           0 : void SetChannel::InternalSwap(SetChannel* other) {
    4158             :   using std::swap;
    4159           0 :   swap(panel_, other->panel_);
    4160           0 :   swap(number_, other->number_);
    4161           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    4162           0 : }
    4163             : 
    4164           0 : ::google::protobuf::Metadata SetChannel::GetMetadata() const {
    4165           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    4166           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    4167             : }
    4168             : 
    4169             : 
    4170             : // ===================================================================
    4171             : 
    4172          11 : void SetZoomLevel::InitAsDefaultInstance() {
    4173          11 :   ::rpc::img::_SetZoomLevel_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    4174          11 :       ::rpc::img::Id::internal_default_instance());
    4175          11 : }
    4176             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    4177             : const int SetZoomLevel::kPanelFieldNumber;
    4178             : const int SetZoomLevel::kLevelFieldNumber;
    4179             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    4180             : 
    4181          11 : SetZoomLevel::SetZoomLevel()
    4182          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    4183          11 :   ::google::protobuf::internal::InitSCC(
    4184             :       &protobuf_img_2eproto::scc_info_SetZoomLevel.base);
    4185          11 :   SharedCtor();
    4186             :   // @@protoc_insertion_point(constructor:rpc.img.SetZoomLevel)
    4187          11 : }
    4188           0 : SetZoomLevel::SetZoomLevel(const SetZoomLevel& from)
    4189             :   : ::google::protobuf::Message(),
    4190           0 :       _internal_metadata_(NULL) {
    4191           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    4192           0 :   if (from.has_panel()) {
    4193           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    4194             :   } else {
    4195           0 :     panel_ = NULL;
    4196             :   }
    4197           0 :   level_ = from.level_;
    4198             :   // @@protoc_insertion_point(copy_constructor:rpc.img.SetZoomLevel)
    4199           0 : }
    4200             : 
    4201          11 : void SetZoomLevel::SharedCtor() {
    4202          11 :   ::memset(&panel_, 0, static_cast<size_t>(
    4203             :       reinterpret_cast<char*>(&level_) -
    4204             :       reinterpret_cast<char*>(&panel_)) + sizeof(level_));
    4205          11 : }
    4206             : 
    4207           0 : SetZoomLevel::~SetZoomLevel() {
    4208             :   // @@protoc_insertion_point(destructor:rpc.img.SetZoomLevel)
    4209           0 :   SharedDtor();
    4210           0 : }
    4211             : 
    4212           0 : void SetZoomLevel::SharedDtor() {
    4213           0 :   if (this != internal_default_instance()) delete panel_;
    4214           0 : }
    4215             : 
    4216           0 : void SetZoomLevel::SetCachedSize(int size) const {
    4217           0 :   _cached_size_.Set(size);
    4218           0 : }
    4219           0 : const ::google::protobuf::Descriptor* SetZoomLevel::descriptor() {
    4220           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    4221           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    4222             : }
    4223             : 
    4224           0 : const SetZoomLevel& SetZoomLevel::default_instance() {
    4225           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_SetZoomLevel.base);
    4226           0 :   return *internal_default_instance();
    4227             : }
    4228             : 
    4229             : 
    4230           0 : void SetZoomLevel::Clear() {
    4231             : // @@protoc_insertion_point(message_clear_start:rpc.img.SetZoomLevel)
    4232           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4233             :   // Prevent compiler warnings about cached_has_bits being unused
    4234             :   (void) cached_has_bits;
    4235             : 
    4236           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    4237           0 :     delete panel_;
    4238             :   }
    4239           0 :   panel_ = NULL;
    4240           0 :   level_ = 0;
    4241           0 :   _internal_metadata_.Clear();
    4242           0 : }
    4243             : 
    4244           0 : bool SetZoomLevel::MergePartialFromCodedStream(
    4245             :     ::google::protobuf::io::CodedInputStream* input) {
    4246             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    4247             :   ::google::protobuf::uint32 tag;
    4248             :   // @@protoc_insertion_point(parse_start:rpc.img.SetZoomLevel)
    4249             :   for (;;) {
    4250             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    4251           0 :     tag = p.first;
    4252           0 :     if (!p.second) goto handle_unusual;
    4253           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    4254             :       // .rpc.img.Id panel = 1;
    4255           0 :       case 1: {
    4256           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4257             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    4258           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    4259             :                input, mutable_panel()));
    4260             :         } else {
    4261           0 :           goto handle_unusual;
    4262             :         }
    4263           0 :         break;
    4264             :       }
    4265             : 
    4266             :       // int32 level = 2;
    4267           0 :       case 2: {
    4268           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4269             :             static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
    4270             : 
    4271           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    4272             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
    4273             :                  input, &level_)));
    4274             :         } else {
    4275           0 :           goto handle_unusual;
    4276             :         }
    4277           0 :         break;
    4278             :       }
    4279             : 
    4280             :       default: {
    4281           0 :       handle_unusual:
    4282           0 :         if (tag == 0) {
    4283           0 :           goto success;
    4284             :         }
    4285           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    4286             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    4287           0 :         break;
    4288             :       }
    4289             :     }
    4290           0 :   }
    4291           0 : success:
    4292             :   // @@protoc_insertion_point(parse_success:rpc.img.SetZoomLevel)
    4293           0 :   return true;
    4294           0 : failure:
    4295             :   // @@protoc_insertion_point(parse_failure:rpc.img.SetZoomLevel)
    4296           0 :   return false;
    4297             : #undef DO_
    4298             : }
    4299             : 
    4300           0 : void SetZoomLevel::SerializeWithCachedSizes(
    4301             :     ::google::protobuf::io::CodedOutputStream* output) const {
    4302             :   // @@protoc_insertion_point(serialize_start:rpc.img.SetZoomLevel)
    4303           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4304             :   (void) cached_has_bits;
    4305             : 
    4306             :   // .rpc.img.Id panel = 1;
    4307           0 :   if (this->has_panel()) {
    4308           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    4309           0 :       1, this->_internal_panel(), output);
    4310             :   }
    4311             : 
    4312             :   // int32 level = 2;
    4313           0 :   if (this->level() != 0) {
    4314           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->level(), output);
    4315             :   }
    4316             : 
    4317           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4318           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    4319           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    4320             :   }
    4321             :   // @@protoc_insertion_point(serialize_end:rpc.img.SetZoomLevel)
    4322           0 : }
    4323             : 
    4324           0 : ::google::protobuf::uint8* SetZoomLevel::InternalSerializeWithCachedSizesToArray(
    4325             :     bool deterministic, ::google::protobuf::uint8* target) const {
    4326             :   (void)deterministic; // Unused
    4327             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.SetZoomLevel)
    4328           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4329             :   (void) cached_has_bits;
    4330             : 
    4331             :   // .rpc.img.Id panel = 1;
    4332           0 :   if (this->has_panel()) {
    4333             :     target = ::google::protobuf::internal::WireFormatLite::
    4334           0 :       InternalWriteMessageToArray(
    4335             :         1, this->_internal_panel(), deterministic, target);
    4336             :   }
    4337             : 
    4338             :   // int32 level = 2;
    4339           0 :   if (this->level() != 0) {
    4340           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->level(), target);
    4341             :   }
    4342             : 
    4343           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4344           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    4345           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    4346             :   }
    4347             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.SetZoomLevel)
    4348           0 :   return target;
    4349             : }
    4350             : 
    4351           0 : size_t SetZoomLevel::ByteSizeLong() const {
    4352             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.SetZoomLevel)
    4353           0 :   size_t total_size = 0;
    4354             : 
    4355           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4356           0 :     total_size +=
    4357           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    4358           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    4359             :   }
    4360             :   // .rpc.img.Id panel = 1;
    4361           0 :   if (this->has_panel()) {
    4362           0 :     total_size += 1 +
    4363           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    4364           0 :         *panel_);
    4365             :   }
    4366             : 
    4367             :   // int32 level = 2;
    4368           0 :   if (this->level() != 0) {
    4369           0 :     total_size += 1 +
    4370           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
    4371             :         this->level());
    4372             :   }
    4373             : 
    4374           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    4375           0 :   SetCachedSize(cached_size);
    4376           0 :   return total_size;
    4377             : }
    4378             : 
    4379           0 : void SetZoomLevel::MergeFrom(const ::google::protobuf::Message& from) {
    4380             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.SetZoomLevel)
    4381           0 :   GOOGLE_DCHECK_NE(&from, this);
    4382             :   const SetZoomLevel* source =
    4383           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const SetZoomLevel>(
    4384             :           &from);
    4385           0 :   if (source == NULL) {
    4386             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.SetZoomLevel)
    4387           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    4388             :   } else {
    4389             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.SetZoomLevel)
    4390           0 :     MergeFrom(*source);
    4391             :   }
    4392           0 : }
    4393             : 
    4394           0 : void SetZoomLevel::MergeFrom(const SetZoomLevel& from) {
    4395             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.SetZoomLevel)
    4396           0 :   GOOGLE_DCHECK_NE(&from, this);
    4397           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    4398           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4399             :   (void) cached_has_bits;
    4400             : 
    4401           0 :   if (from.has_panel()) {
    4402           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    4403             :   }
    4404           0 :   if (from.level() != 0) {
    4405           0 :     set_level(from.level());
    4406             :   }
    4407           0 : }
    4408             : 
    4409           0 : void SetZoomLevel::CopyFrom(const ::google::protobuf::Message& from) {
    4410             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.SetZoomLevel)
    4411           0 :   if (&from == this) return;
    4412           0 :   Clear();
    4413           0 :   MergeFrom(from);
    4414             : }
    4415             : 
    4416           0 : void SetZoomLevel::CopyFrom(const SetZoomLevel& from) {
    4417             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.SetZoomLevel)
    4418           0 :   if (&from == this) return;
    4419           0 :   Clear();
    4420           0 :   MergeFrom(from);
    4421             : }
    4422             : 
    4423           0 : bool SetZoomLevel::IsInitialized() const {
    4424           0 :   return true;
    4425             : }
    4426             : 
    4427           0 : void SetZoomLevel::Swap(SetZoomLevel* other) {
    4428           0 :   if (other == this) return;
    4429           0 :   InternalSwap(other);
    4430             : }
    4431           0 : void SetZoomLevel::InternalSwap(SetZoomLevel* other) {
    4432             :   using std::swap;
    4433           0 :   swap(panel_, other->panel_);
    4434           0 :   swap(level_, other->level_);
    4435           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    4436           0 : }
    4437             : 
    4438           0 : ::google::protobuf::Metadata SetZoomLevel::GetMetadata() const {
    4439           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    4440           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    4441             : }
    4442             : 
    4443             : 
    4444             : // ===================================================================
    4445             : 
    4446          11 : void SetZoomBox::InitAsDefaultInstance() {
    4447          11 :   ::rpc::img::_SetZoomBox_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    4448          11 :       ::rpc::img::Id::internal_default_instance());
    4449          11 :   ::rpc::img::_SetZoomBox_default_instance_._instance.get_mutable()->blc_ = const_cast< ::rpc::img::Coord2D*>(
    4450          11 :       ::rpc::img::Coord2D::internal_default_instance());
    4451          11 :   ::rpc::img::_SetZoomBox_default_instance_._instance.get_mutable()->trc_ = const_cast< ::rpc::img::Coord2D*>(
    4452          11 :       ::rpc::img::Coord2D::internal_default_instance());
    4453          11 : }
    4454             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    4455             : const int SetZoomBox::kPanelFieldNumber;
    4456             : const int SetZoomBox::kBlcFieldNumber;
    4457             : const int SetZoomBox::kTrcFieldNumber;
    4458             : const int SetZoomBox::kCoordTypeFieldNumber;
    4459             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    4460             : 
    4461          11 : SetZoomBox::SetZoomBox()
    4462          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    4463          11 :   ::google::protobuf::internal::InitSCC(
    4464             :       &protobuf_img_2eproto::scc_info_SetZoomBox.base);
    4465          11 :   SharedCtor();
    4466             :   // @@protoc_insertion_point(constructor:rpc.img.SetZoomBox)
    4467          11 : }
    4468           0 : SetZoomBox::SetZoomBox(const SetZoomBox& from)
    4469             :   : ::google::protobuf::Message(),
    4470           0 :       _internal_metadata_(NULL) {
    4471           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    4472           0 :   coord_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    4473           0 :   if (from.coord_type().size() > 0) {
    4474           0 :     coord_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.coord_type_);
    4475             :   }
    4476           0 :   if (from.has_panel()) {
    4477           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    4478             :   } else {
    4479           0 :     panel_ = NULL;
    4480             :   }
    4481           0 :   if (from.has_blc()) {
    4482           0 :     blc_ = new ::rpc::img::Coord2D(*from.blc_);
    4483             :   } else {
    4484           0 :     blc_ = NULL;
    4485             :   }
    4486           0 :   if (from.has_trc()) {
    4487           0 :     trc_ = new ::rpc::img::Coord2D(*from.trc_);
    4488             :   } else {
    4489           0 :     trc_ = NULL;
    4490             :   }
    4491             :   // @@protoc_insertion_point(copy_constructor:rpc.img.SetZoomBox)
    4492           0 : }
    4493             : 
    4494          11 : void SetZoomBox::SharedCtor() {
    4495          11 :   coord_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    4496          11 :   ::memset(&panel_, 0, static_cast<size_t>(
    4497             :       reinterpret_cast<char*>(&trc_) -
    4498             :       reinterpret_cast<char*>(&panel_)) + sizeof(trc_));
    4499          11 : }
    4500             : 
    4501           0 : SetZoomBox::~SetZoomBox() {
    4502             :   // @@protoc_insertion_point(destructor:rpc.img.SetZoomBox)
    4503           0 :   SharedDtor();
    4504           0 : }
    4505             : 
    4506           0 : void SetZoomBox::SharedDtor() {
    4507           0 :   coord_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    4508           0 :   if (this != internal_default_instance()) delete panel_;
    4509           0 :   if (this != internal_default_instance()) delete blc_;
    4510           0 :   if (this != internal_default_instance()) delete trc_;
    4511           0 : }
    4512             : 
    4513           0 : void SetZoomBox::SetCachedSize(int size) const {
    4514           0 :   _cached_size_.Set(size);
    4515           0 : }
    4516           0 : const ::google::protobuf::Descriptor* SetZoomBox::descriptor() {
    4517           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    4518           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    4519             : }
    4520             : 
    4521           0 : const SetZoomBox& SetZoomBox::default_instance() {
    4522           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_SetZoomBox.base);
    4523           0 :   return *internal_default_instance();
    4524             : }
    4525             : 
    4526             : 
    4527           0 : void SetZoomBox::Clear() {
    4528             : // @@protoc_insertion_point(message_clear_start:rpc.img.SetZoomBox)
    4529           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4530             :   // Prevent compiler warnings about cached_has_bits being unused
    4531             :   (void) cached_has_bits;
    4532             : 
    4533           0 :   coord_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    4534           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    4535           0 :     delete panel_;
    4536             :   }
    4537           0 :   panel_ = NULL;
    4538           0 :   if (GetArenaNoVirtual() == NULL && blc_ != NULL) {
    4539           0 :     delete blc_;
    4540             :   }
    4541           0 :   blc_ = NULL;
    4542           0 :   if (GetArenaNoVirtual() == NULL && trc_ != NULL) {
    4543           0 :     delete trc_;
    4544             :   }
    4545           0 :   trc_ = NULL;
    4546           0 :   _internal_metadata_.Clear();
    4547           0 : }
    4548             : 
    4549           0 : bool SetZoomBox::MergePartialFromCodedStream(
    4550             :     ::google::protobuf::io::CodedInputStream* input) {
    4551             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    4552             :   ::google::protobuf::uint32 tag;
    4553             :   // @@protoc_insertion_point(parse_start:rpc.img.SetZoomBox)
    4554             :   for (;;) {
    4555             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    4556           0 :     tag = p.first;
    4557           0 :     if (!p.second) goto handle_unusual;
    4558           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    4559             :       // .rpc.img.Id panel = 1;
    4560           0 :       case 1: {
    4561           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4562             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    4563           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    4564             :                input, mutable_panel()));
    4565             :         } else {
    4566           0 :           goto handle_unusual;
    4567             :         }
    4568           0 :         break;
    4569             :       }
    4570             : 
    4571             :       // .rpc.img.Coord2D blc = 2;
    4572           0 :       case 2: {
    4573           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4574             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    4575           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    4576             :                input, mutable_blc()));
    4577             :         } else {
    4578           0 :           goto handle_unusual;
    4579             :         }
    4580           0 :         break;
    4581             :       }
    4582             : 
    4583             :       // .rpc.img.Coord2D trc = 3;
    4584           0 :       case 3: {
    4585           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4586             :             static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
    4587           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    4588             :                input, mutable_trc()));
    4589             :         } else {
    4590           0 :           goto handle_unusual;
    4591             :         }
    4592           0 :         break;
    4593             :       }
    4594             : 
    4595             :       // string coord_type = 4;
    4596           0 :       case 4: {
    4597           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4598             :             static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
    4599           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    4600             :                 input, this->mutable_coord_type()));
    4601           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    4602             :             this->coord_type().data(), static_cast<int>(this->coord_type().length()),
    4603             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    4604             :             "rpc.img.SetZoomBox.coord_type"));
    4605             :         } else {
    4606           0 :           goto handle_unusual;
    4607             :         }
    4608           0 :         break;
    4609             :       }
    4610             : 
    4611             :       default: {
    4612           0 :       handle_unusual:
    4613           0 :         if (tag == 0) {
    4614           0 :           goto success;
    4615             :         }
    4616           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    4617             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    4618           0 :         break;
    4619             :       }
    4620             :     }
    4621           0 :   }
    4622           0 : success:
    4623             :   // @@protoc_insertion_point(parse_success:rpc.img.SetZoomBox)
    4624           0 :   return true;
    4625           0 : failure:
    4626             :   // @@protoc_insertion_point(parse_failure:rpc.img.SetZoomBox)
    4627           0 :   return false;
    4628             : #undef DO_
    4629             : }
    4630             : 
    4631           0 : void SetZoomBox::SerializeWithCachedSizes(
    4632             :     ::google::protobuf::io::CodedOutputStream* output) const {
    4633             :   // @@protoc_insertion_point(serialize_start:rpc.img.SetZoomBox)
    4634           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4635             :   (void) cached_has_bits;
    4636             : 
    4637             :   // .rpc.img.Id panel = 1;
    4638           0 :   if (this->has_panel()) {
    4639           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    4640           0 :       1, this->_internal_panel(), output);
    4641             :   }
    4642             : 
    4643             :   // .rpc.img.Coord2D blc = 2;
    4644           0 :   if (this->has_blc()) {
    4645           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    4646           0 :       2, this->_internal_blc(), output);
    4647             :   }
    4648             : 
    4649             :   // .rpc.img.Coord2D trc = 3;
    4650           0 :   if (this->has_trc()) {
    4651           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    4652           0 :       3, this->_internal_trc(), output);
    4653             :   }
    4654             : 
    4655             :   // string coord_type = 4;
    4656           0 :   if (this->coord_type().size() > 0) {
    4657           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    4658           0 :       this->coord_type().data(), static_cast<int>(this->coord_type().length()),
    4659             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    4660             :       "rpc.img.SetZoomBox.coord_type");
    4661           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    4662             :       4, this->coord_type(), output);
    4663             :   }
    4664             : 
    4665           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4666           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    4667           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    4668             :   }
    4669             :   // @@protoc_insertion_point(serialize_end:rpc.img.SetZoomBox)
    4670           0 : }
    4671             : 
    4672           0 : ::google::protobuf::uint8* SetZoomBox::InternalSerializeWithCachedSizesToArray(
    4673             :     bool deterministic, ::google::protobuf::uint8* target) const {
    4674             :   (void)deterministic; // Unused
    4675             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.SetZoomBox)
    4676           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4677             :   (void) cached_has_bits;
    4678             : 
    4679             :   // .rpc.img.Id panel = 1;
    4680           0 :   if (this->has_panel()) {
    4681             :     target = ::google::protobuf::internal::WireFormatLite::
    4682           0 :       InternalWriteMessageToArray(
    4683             :         1, this->_internal_panel(), deterministic, target);
    4684             :   }
    4685             : 
    4686             :   // .rpc.img.Coord2D blc = 2;
    4687           0 :   if (this->has_blc()) {
    4688             :     target = ::google::protobuf::internal::WireFormatLite::
    4689           0 :       InternalWriteMessageToArray(
    4690             :         2, this->_internal_blc(), deterministic, target);
    4691             :   }
    4692             : 
    4693             :   // .rpc.img.Coord2D trc = 3;
    4694           0 :   if (this->has_trc()) {
    4695             :     target = ::google::protobuf::internal::WireFormatLite::
    4696           0 :       InternalWriteMessageToArray(
    4697             :         3, this->_internal_trc(), deterministic, target);
    4698             :   }
    4699             : 
    4700             :   // string coord_type = 4;
    4701           0 :   if (this->coord_type().size() > 0) {
    4702           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    4703           0 :       this->coord_type().data(), static_cast<int>(this->coord_type().length()),
    4704             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    4705             :       "rpc.img.SetZoomBox.coord_type");
    4706             :     target =
    4707           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    4708             :         4, this->coord_type(), target);
    4709             :   }
    4710             : 
    4711           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4712           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    4713           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    4714             :   }
    4715             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.SetZoomBox)
    4716           0 :   return target;
    4717             : }
    4718             : 
    4719           0 : size_t SetZoomBox::ByteSizeLong() const {
    4720             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.SetZoomBox)
    4721           0 :   size_t total_size = 0;
    4722             : 
    4723           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    4724           0 :     total_size +=
    4725           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    4726           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    4727             :   }
    4728             :   // string coord_type = 4;
    4729           0 :   if (this->coord_type().size() > 0) {
    4730           0 :     total_size += 1 +
    4731           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    4732             :         this->coord_type());
    4733             :   }
    4734             : 
    4735             :   // .rpc.img.Id panel = 1;
    4736           0 :   if (this->has_panel()) {
    4737           0 :     total_size += 1 +
    4738           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    4739           0 :         *panel_);
    4740             :   }
    4741             : 
    4742             :   // .rpc.img.Coord2D blc = 2;
    4743           0 :   if (this->has_blc()) {
    4744           0 :     total_size += 1 +
    4745           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    4746           0 :         *blc_);
    4747             :   }
    4748             : 
    4749             :   // .rpc.img.Coord2D trc = 3;
    4750           0 :   if (this->has_trc()) {
    4751           0 :     total_size += 1 +
    4752           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    4753           0 :         *trc_);
    4754             :   }
    4755             : 
    4756           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    4757           0 :   SetCachedSize(cached_size);
    4758           0 :   return total_size;
    4759             : }
    4760             : 
    4761           0 : void SetZoomBox::MergeFrom(const ::google::protobuf::Message& from) {
    4762             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.SetZoomBox)
    4763           0 :   GOOGLE_DCHECK_NE(&from, this);
    4764             :   const SetZoomBox* source =
    4765           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const SetZoomBox>(
    4766             :           &from);
    4767           0 :   if (source == NULL) {
    4768             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.SetZoomBox)
    4769           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    4770             :   } else {
    4771             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.SetZoomBox)
    4772           0 :     MergeFrom(*source);
    4773             :   }
    4774           0 : }
    4775             : 
    4776           0 : void SetZoomBox::MergeFrom(const SetZoomBox& from) {
    4777             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.SetZoomBox)
    4778           0 :   GOOGLE_DCHECK_NE(&from, this);
    4779           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    4780           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4781             :   (void) cached_has_bits;
    4782             : 
    4783           0 :   if (from.coord_type().size() > 0) {
    4784             : 
    4785           0 :     coord_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.coord_type_);
    4786             :   }
    4787           0 :   if (from.has_panel()) {
    4788           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    4789             :   }
    4790           0 :   if (from.has_blc()) {
    4791           0 :     mutable_blc()->::rpc::img::Coord2D::MergeFrom(from.blc());
    4792             :   }
    4793           0 :   if (from.has_trc()) {
    4794           0 :     mutable_trc()->::rpc::img::Coord2D::MergeFrom(from.trc());
    4795             :   }
    4796           0 : }
    4797             : 
    4798           0 : void SetZoomBox::CopyFrom(const ::google::protobuf::Message& from) {
    4799             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.SetZoomBox)
    4800           0 :   if (&from == this) return;
    4801           0 :   Clear();
    4802           0 :   MergeFrom(from);
    4803             : }
    4804             : 
    4805           0 : void SetZoomBox::CopyFrom(const SetZoomBox& from) {
    4806             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.SetZoomBox)
    4807           0 :   if (&from == this) return;
    4808           0 :   Clear();
    4809           0 :   MergeFrom(from);
    4810             : }
    4811             : 
    4812           0 : bool SetZoomBox::IsInitialized() const {
    4813           0 :   return true;
    4814             : }
    4815             : 
    4816           0 : void SetZoomBox::Swap(SetZoomBox* other) {
    4817           0 :   if (other == this) return;
    4818           0 :   InternalSwap(other);
    4819             : }
    4820           0 : void SetZoomBox::InternalSwap(SetZoomBox* other) {
    4821             :   using std::swap;
    4822           0 :   coord_type_.Swap(&other->coord_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    4823             :     GetArenaNoVirtual());
    4824           0 :   swap(panel_, other->panel_);
    4825           0 :   swap(blc_, other->blc_);
    4826           0 :   swap(trc_, other->trc_);
    4827           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    4828           0 : }
    4829             : 
    4830           0 : ::google::protobuf::Metadata SetZoomBox::GetMetadata() const {
    4831           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    4832           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    4833             : }
    4834             : 
    4835             : 
    4836             : // ===================================================================
    4837             : 
    4838          11 : void DataRange::InitAsDefaultInstance() {
    4839          11 :   ::rpc::img::_DataRange_default_instance_._instance.get_mutable()->data_ = const_cast< ::rpc::img::Id*>(
    4840          11 :       ::rpc::img::Id::internal_default_instance());
    4841          11 : }
    4842             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    4843             : const int DataRange::kDataFieldNumber;
    4844             : const int DataRange::kMinFieldNumber;
    4845             : const int DataRange::kMaxFieldNumber;
    4846             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    4847             : 
    4848          11 : DataRange::DataRange()
    4849          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    4850          11 :   ::google::protobuf::internal::InitSCC(
    4851             :       &protobuf_img_2eproto::scc_info_DataRange.base);
    4852          11 :   SharedCtor();
    4853             :   // @@protoc_insertion_point(constructor:rpc.img.DataRange)
    4854          11 : }
    4855           0 : DataRange::DataRange(const DataRange& from)
    4856             :   : ::google::protobuf::Message(),
    4857           0 :       _internal_metadata_(NULL) {
    4858           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    4859           0 :   if (from.has_data()) {
    4860           0 :     data_ = new ::rpc::img::Id(*from.data_);
    4861             :   } else {
    4862           0 :     data_ = NULL;
    4863             :   }
    4864           0 :   ::memcpy(&min_, &from.min_,
    4865             :     static_cast<size_t>(reinterpret_cast<char*>(&max_) -
    4866             :     reinterpret_cast<char*>(&min_)) + sizeof(max_));
    4867             :   // @@protoc_insertion_point(copy_constructor:rpc.img.DataRange)
    4868           0 : }
    4869             : 
    4870          11 : void DataRange::SharedCtor() {
    4871          11 :   ::memset(&data_, 0, static_cast<size_t>(
    4872             :       reinterpret_cast<char*>(&max_) -
    4873             :       reinterpret_cast<char*>(&data_)) + sizeof(max_));
    4874          11 : }
    4875             : 
    4876           0 : DataRange::~DataRange() {
    4877             :   // @@protoc_insertion_point(destructor:rpc.img.DataRange)
    4878           0 :   SharedDtor();
    4879           0 : }
    4880             : 
    4881           0 : void DataRange::SharedDtor() {
    4882           0 :   if (this != internal_default_instance()) delete data_;
    4883           0 : }
    4884             : 
    4885           0 : void DataRange::SetCachedSize(int size) const {
    4886           0 :   _cached_size_.Set(size);
    4887           0 : }
    4888           0 : const ::google::protobuf::Descriptor* DataRange::descriptor() {
    4889           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    4890           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    4891             : }
    4892             : 
    4893           0 : const DataRange& DataRange::default_instance() {
    4894           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_DataRange.base);
    4895           0 :   return *internal_default_instance();
    4896             : }
    4897             : 
    4898             : 
    4899           0 : void DataRange::Clear() {
    4900             : // @@protoc_insertion_point(message_clear_start:rpc.img.DataRange)
    4901           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4902             :   // Prevent compiler warnings about cached_has_bits being unused
    4903             :   (void) cached_has_bits;
    4904             : 
    4905           0 :   if (GetArenaNoVirtual() == NULL && data_ != NULL) {
    4906           0 :     delete data_;
    4907             :   }
    4908           0 :   data_ = NULL;
    4909           0 :   ::memset(&min_, 0, static_cast<size_t>(
    4910             :       reinterpret_cast<char*>(&max_) -
    4911             :       reinterpret_cast<char*>(&min_)) + sizeof(max_));
    4912           0 :   _internal_metadata_.Clear();
    4913           0 : }
    4914             : 
    4915           0 : bool DataRange::MergePartialFromCodedStream(
    4916             :     ::google::protobuf::io::CodedInputStream* input) {
    4917             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    4918             :   ::google::protobuf::uint32 tag;
    4919             :   // @@protoc_insertion_point(parse_start:rpc.img.DataRange)
    4920             :   for (;;) {
    4921             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    4922           0 :     tag = p.first;
    4923           0 :     if (!p.second) goto handle_unusual;
    4924           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    4925             :       // .rpc.img.Id data = 1;
    4926           0 :       case 1: {
    4927           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4928             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    4929           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    4930             :                input, mutable_data()));
    4931             :         } else {
    4932           0 :           goto handle_unusual;
    4933             :         }
    4934           0 :         break;
    4935             :       }
    4936             : 
    4937             :       // float min = 2;
    4938           0 :       case 2: {
    4939           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4940             :             static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
    4941             : 
    4942           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    4943             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    4944             :                  input, &min_)));
    4945             :         } else {
    4946           0 :           goto handle_unusual;
    4947             :         }
    4948           0 :         break;
    4949             :       }
    4950             : 
    4951             :       // float max = 3;
    4952           0 :       case 3: {
    4953           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    4954             :             static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
    4955             : 
    4956           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    4957             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    4958             :                  input, &max_)));
    4959             :         } else {
    4960           0 :           goto handle_unusual;
    4961             :         }
    4962           0 :         break;
    4963             :       }
    4964             : 
    4965             :       default: {
    4966           0 :       handle_unusual:
    4967           0 :         if (tag == 0) {
    4968           0 :           goto success;
    4969             :         }
    4970           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    4971             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    4972           0 :         break;
    4973             :       }
    4974             :     }
    4975           0 :   }
    4976           0 : success:
    4977             :   // @@protoc_insertion_point(parse_success:rpc.img.DataRange)
    4978           0 :   return true;
    4979           0 : failure:
    4980             :   // @@protoc_insertion_point(parse_failure:rpc.img.DataRange)
    4981           0 :   return false;
    4982             : #undef DO_
    4983             : }
    4984             : 
    4985           0 : void DataRange::SerializeWithCachedSizes(
    4986             :     ::google::protobuf::io::CodedOutputStream* output) const {
    4987             :   // @@protoc_insertion_point(serialize_start:rpc.img.DataRange)
    4988           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    4989             :   (void) cached_has_bits;
    4990             : 
    4991             :   // .rpc.img.Id data = 1;
    4992           0 :   if (this->has_data()) {
    4993           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    4994           0 :       1, this->_internal_data(), output);
    4995             :   }
    4996             : 
    4997             :   // float min = 2;
    4998           0 :   if (this->min() != 0) {
    4999           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->min(), output);
    5000             :   }
    5001             : 
    5002             :   // float max = 3;
    5003           0 :   if (this->max() != 0) {
    5004           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->max(), output);
    5005             :   }
    5006             : 
    5007           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5008           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    5009           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    5010             :   }
    5011             :   // @@protoc_insertion_point(serialize_end:rpc.img.DataRange)
    5012           0 : }
    5013             : 
    5014           0 : ::google::protobuf::uint8* DataRange::InternalSerializeWithCachedSizesToArray(
    5015             :     bool deterministic, ::google::protobuf::uint8* target) const {
    5016             :   (void)deterministic; // Unused
    5017             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.DataRange)
    5018           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5019             :   (void) cached_has_bits;
    5020             : 
    5021             :   // .rpc.img.Id data = 1;
    5022           0 :   if (this->has_data()) {
    5023             :     target = ::google::protobuf::internal::WireFormatLite::
    5024           0 :       InternalWriteMessageToArray(
    5025             :         1, this->_internal_data(), deterministic, target);
    5026             :   }
    5027             : 
    5028             :   // float min = 2;
    5029           0 :   if (this->min() != 0) {
    5030           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->min(), target);
    5031             :   }
    5032             : 
    5033             :   // float max = 3;
    5034           0 :   if (this->max() != 0) {
    5035           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->max(), target);
    5036             :   }
    5037             : 
    5038           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5039           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    5040           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    5041             :   }
    5042             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.DataRange)
    5043           0 :   return target;
    5044             : }
    5045             : 
    5046           0 : size_t DataRange::ByteSizeLong() const {
    5047             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.DataRange)
    5048           0 :   size_t total_size = 0;
    5049             : 
    5050           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5051           0 :     total_size +=
    5052           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    5053           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    5054             :   }
    5055             :   // .rpc.img.Id data = 1;
    5056           0 :   if (this->has_data()) {
    5057           0 :     total_size += 1 +
    5058           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    5059           0 :         *data_);
    5060             :   }
    5061             : 
    5062             :   // float min = 2;
    5063           0 :   if (this->min() != 0) {
    5064           0 :     total_size += 1 + 4;
    5065             :   }
    5066             : 
    5067             :   // float max = 3;
    5068           0 :   if (this->max() != 0) {
    5069           0 :     total_size += 1 + 4;
    5070             :   }
    5071             : 
    5072           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    5073           0 :   SetCachedSize(cached_size);
    5074           0 :   return total_size;
    5075             : }
    5076             : 
    5077           0 : void DataRange::MergeFrom(const ::google::protobuf::Message& from) {
    5078             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.DataRange)
    5079           0 :   GOOGLE_DCHECK_NE(&from, this);
    5080             :   const DataRange* source =
    5081           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const DataRange>(
    5082             :           &from);
    5083           0 :   if (source == NULL) {
    5084             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.DataRange)
    5085           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    5086             :   } else {
    5087             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.DataRange)
    5088           0 :     MergeFrom(*source);
    5089             :   }
    5090           0 : }
    5091             : 
    5092           0 : void DataRange::MergeFrom(const DataRange& from) {
    5093             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.DataRange)
    5094           0 :   GOOGLE_DCHECK_NE(&from, this);
    5095           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    5096           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5097             :   (void) cached_has_bits;
    5098             : 
    5099           0 :   if (from.has_data()) {
    5100           0 :     mutable_data()->::rpc::img::Id::MergeFrom(from.data());
    5101             :   }
    5102           0 :   if (from.min() != 0) {
    5103           0 :     set_min(from.min());
    5104             :   }
    5105           0 :   if (from.max() != 0) {
    5106           0 :     set_max(from.max());
    5107             :   }
    5108           0 : }
    5109             : 
    5110           0 : void DataRange::CopyFrom(const ::google::protobuf::Message& from) {
    5111             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.DataRange)
    5112           0 :   if (&from == this) return;
    5113           0 :   Clear();
    5114           0 :   MergeFrom(from);
    5115             : }
    5116             : 
    5117           0 : void DataRange::CopyFrom(const DataRange& from) {
    5118             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.DataRange)
    5119           0 :   if (&from == this) return;
    5120           0 :   Clear();
    5121           0 :   MergeFrom(from);
    5122             : }
    5123             : 
    5124           0 : bool DataRange::IsInitialized() const {
    5125           0 :   return true;
    5126             : }
    5127             : 
    5128           0 : void DataRange::Swap(DataRange* other) {
    5129           0 :   if (other == this) return;
    5130           0 :   InternalSwap(other);
    5131             : }
    5132           0 : void DataRange::InternalSwap(DataRange* other) {
    5133             :   using std::swap;
    5134           0 :   swap(data_, other->data_);
    5135           0 :   swap(min_, other->min_);
    5136           0 :   swap(max_, other->max_);
    5137           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    5138           0 : }
    5139             : 
    5140           0 : ::google::protobuf::Metadata DataRange::GetMetadata() const {
    5141           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    5142           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    5143             : }
    5144             : 
    5145             : 
    5146             : // ===================================================================
    5147             : 
    5148          11 : void ContourLevels::InitAsDefaultInstance() {
    5149          11 :   ::rpc::img::_ContourLevels_default_instance_._instance.get_mutable()->id_ = const_cast< ::rpc::img::Id*>(
    5150          11 :       ::rpc::img::Id::internal_default_instance());
    5151          11 : }
    5152             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    5153             : const int ContourLevels::kIdFieldNumber;
    5154             : const int ContourLevels::kLevelsFieldNumber;
    5155             : const int ContourLevels::kBaselevelFieldNumber;
    5156             : const int ContourLevels::kUnitlevelFieldNumber;
    5157             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    5158             : 
    5159          11 : ContourLevels::ContourLevels()
    5160          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    5161          11 :   ::google::protobuf::internal::InitSCC(
    5162             :       &protobuf_img_2eproto::scc_info_ContourLevels.base);
    5163          11 :   SharedCtor();
    5164             :   // @@protoc_insertion_point(constructor:rpc.img.ContourLevels)
    5165          11 : }
    5166           0 : ContourLevels::ContourLevels(const ContourLevels& from)
    5167             :   : ::google::protobuf::Message(),
    5168           0 :       _internal_metadata_(NULL),
    5169           0 :       levels_(from.levels_) {
    5170           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    5171           0 :   if (from.has_id()) {
    5172           0 :     id_ = new ::rpc::img::Id(*from.id_);
    5173             :   } else {
    5174           0 :     id_ = NULL;
    5175             :   }
    5176           0 :   ::memcpy(&baselevel_, &from.baselevel_,
    5177             :     static_cast<size_t>(reinterpret_cast<char*>(&unitlevel_) -
    5178             :     reinterpret_cast<char*>(&baselevel_)) + sizeof(unitlevel_));
    5179             :   // @@protoc_insertion_point(copy_constructor:rpc.img.ContourLevels)
    5180           0 : }
    5181             : 
    5182          11 : void ContourLevels::SharedCtor() {
    5183          11 :   ::memset(&id_, 0, static_cast<size_t>(
    5184             :       reinterpret_cast<char*>(&unitlevel_) -
    5185             :       reinterpret_cast<char*>(&id_)) + sizeof(unitlevel_));
    5186          11 : }
    5187             : 
    5188           0 : ContourLevels::~ContourLevels() {
    5189             :   // @@protoc_insertion_point(destructor:rpc.img.ContourLevels)
    5190           0 :   SharedDtor();
    5191           0 : }
    5192             : 
    5193           0 : void ContourLevels::SharedDtor() {
    5194           0 :   if (this != internal_default_instance()) delete id_;
    5195           0 : }
    5196             : 
    5197           0 : void ContourLevels::SetCachedSize(int size) const {
    5198           0 :   _cached_size_.Set(size);
    5199           0 : }
    5200           0 : const ::google::protobuf::Descriptor* ContourLevels::descriptor() {
    5201           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    5202           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    5203             : }
    5204             : 
    5205           0 : const ContourLevels& ContourLevels::default_instance() {
    5206           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_ContourLevels.base);
    5207           0 :   return *internal_default_instance();
    5208             : }
    5209             : 
    5210             : 
    5211           0 : void ContourLevels::Clear() {
    5212             : // @@protoc_insertion_point(message_clear_start:rpc.img.ContourLevels)
    5213           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5214             :   // Prevent compiler warnings about cached_has_bits being unused
    5215             :   (void) cached_has_bits;
    5216             : 
    5217           0 :   levels_.Clear();
    5218           0 :   if (GetArenaNoVirtual() == NULL && id_ != NULL) {
    5219           0 :     delete id_;
    5220             :   }
    5221           0 :   id_ = NULL;
    5222           0 :   ::memset(&baselevel_, 0, static_cast<size_t>(
    5223             :       reinterpret_cast<char*>(&unitlevel_) -
    5224             :       reinterpret_cast<char*>(&baselevel_)) + sizeof(unitlevel_));
    5225           0 :   _internal_metadata_.Clear();
    5226           0 : }
    5227             : 
    5228           0 : bool ContourLevels::MergePartialFromCodedStream(
    5229             :     ::google::protobuf::io::CodedInputStream* input) {
    5230             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    5231             :   ::google::protobuf::uint32 tag;
    5232             :   // @@protoc_insertion_point(parse_start:rpc.img.ContourLevels)
    5233             :   for (;;) {
    5234             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    5235           0 :     tag = p.first;
    5236           0 :     if (!p.second) goto handle_unusual;
    5237           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    5238             :       // .rpc.img.Id id = 1;
    5239           0 :       case 1: {
    5240           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5241             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    5242           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    5243             :                input, mutable_id()));
    5244             :         } else {
    5245           0 :           goto handle_unusual;
    5246             :         }
    5247           0 :         break;
    5248             :       }
    5249             : 
    5250             :       // repeated float levels = 2;
    5251           0 :       case 2: {
    5252           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5253             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    5254           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
    5255             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    5256             :                  input, this->mutable_levels())));
    5257           0 :         } else if (
    5258           0 :             static_cast< ::google::protobuf::uint8>(tag) ==
    5259             :             static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
    5260           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
    5261             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    5262             :                  1, 18u, input, this->mutable_levels())));
    5263             :         } else {
    5264           0 :           goto handle_unusual;
    5265             :         }
    5266           0 :         break;
    5267             :       }
    5268             : 
    5269             :       // float baselevel = 3;
    5270           0 :       case 3: {
    5271           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5272             :             static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
    5273             : 
    5274           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    5275             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    5276             :                  input, &baselevel_)));
    5277             :         } else {
    5278           0 :           goto handle_unusual;
    5279             :         }
    5280           0 :         break;
    5281             :       }
    5282             : 
    5283             :       // float unitlevel = 4;
    5284           0 :       case 4: {
    5285           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5286             :             static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
    5287             : 
    5288           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    5289             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    5290             :                  input, &unitlevel_)));
    5291             :         } else {
    5292           0 :           goto handle_unusual;
    5293             :         }
    5294           0 :         break;
    5295             :       }
    5296             : 
    5297             :       default: {
    5298           0 :       handle_unusual:
    5299           0 :         if (tag == 0) {
    5300           0 :           goto success;
    5301             :         }
    5302           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    5303             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    5304           0 :         break;
    5305             :       }
    5306             :     }
    5307           0 :   }
    5308           0 : success:
    5309             :   // @@protoc_insertion_point(parse_success:rpc.img.ContourLevels)
    5310           0 :   return true;
    5311           0 : failure:
    5312             :   // @@protoc_insertion_point(parse_failure:rpc.img.ContourLevels)
    5313           0 :   return false;
    5314             : #undef DO_
    5315             : }
    5316             : 
    5317           0 : void ContourLevels::SerializeWithCachedSizes(
    5318             :     ::google::protobuf::io::CodedOutputStream* output) const {
    5319             :   // @@protoc_insertion_point(serialize_start:rpc.img.ContourLevels)
    5320           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5321             :   (void) cached_has_bits;
    5322             : 
    5323             :   // .rpc.img.Id id = 1;
    5324           0 :   if (this->has_id()) {
    5325           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    5326           0 :       1, this->_internal_id(), output);
    5327             :   }
    5328             : 
    5329             :   // repeated float levels = 2;
    5330           0 :   if (this->levels_size() > 0) {
    5331           0 :     ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
    5332           0 :     output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
    5333           0 :         _levels_cached_byte_size_));
    5334           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloatArray(
    5335           0 :       this->levels().data(), this->levels_size(), output);
    5336             :   }
    5337             : 
    5338             :   // float baselevel = 3;
    5339           0 :   if (this->baselevel() != 0) {
    5340           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->baselevel(), output);
    5341             :   }
    5342             : 
    5343             :   // float unitlevel = 4;
    5344           0 :   if (this->unitlevel() != 0) {
    5345           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->unitlevel(), output);
    5346             :   }
    5347             : 
    5348           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5349           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    5350           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    5351             :   }
    5352             :   // @@protoc_insertion_point(serialize_end:rpc.img.ContourLevels)
    5353           0 : }
    5354             : 
    5355           0 : ::google::protobuf::uint8* ContourLevels::InternalSerializeWithCachedSizesToArray(
    5356             :     bool deterministic, ::google::protobuf::uint8* target) const {
    5357             :   (void)deterministic; // Unused
    5358             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.ContourLevels)
    5359           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5360             :   (void) cached_has_bits;
    5361             : 
    5362             :   // .rpc.img.Id id = 1;
    5363           0 :   if (this->has_id()) {
    5364             :     target = ::google::protobuf::internal::WireFormatLite::
    5365           0 :       InternalWriteMessageToArray(
    5366             :         1, this->_internal_id(), deterministic, target);
    5367             :   }
    5368             : 
    5369             :   // repeated float levels = 2;
    5370           0 :   if (this->levels_size() > 0) {
    5371           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
    5372             :       2,
    5373             :       ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
    5374             :       target);
    5375           0 :     target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
    5376             :         static_cast< ::google::protobuf::int32>(
    5377           0 :             _levels_cached_byte_size_), target);
    5378             :     target = ::google::protobuf::internal::WireFormatLite::
    5379           0 :       WriteFloatNoTagToArray(this->levels_, target);
    5380             :   }
    5381             : 
    5382             :   // float baselevel = 3;
    5383           0 :   if (this->baselevel() != 0) {
    5384           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->baselevel(), target);
    5385             :   }
    5386             : 
    5387             :   // float unitlevel = 4;
    5388           0 :   if (this->unitlevel() != 0) {
    5389           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->unitlevel(), target);
    5390             :   }
    5391             : 
    5392           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5393           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    5394           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    5395             :   }
    5396             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.ContourLevels)
    5397           0 :   return target;
    5398             : }
    5399             : 
    5400           0 : size_t ContourLevels::ByteSizeLong() const {
    5401             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.ContourLevels)
    5402           0 :   size_t total_size = 0;
    5403             : 
    5404           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5405           0 :     total_size +=
    5406           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    5407           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    5408             :   }
    5409             :   // repeated float levels = 2;
    5410             :   {
    5411           0 :     unsigned int count = static_cast<unsigned int>(this->levels_size());
    5412           0 :     size_t data_size = 4UL * count;
    5413           0 :     if (data_size > 0) {
    5414           0 :       total_size += 1 +
    5415           0 :         ::google::protobuf::internal::WireFormatLite::Int32Size(
    5416             :             static_cast< ::google::protobuf::int32>(data_size));
    5417             :     }
    5418           0 :     int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
    5419             :     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    5420           0 :     _levels_cached_byte_size_ = cached_size;
    5421             :     GOOGLE_SAFE_CONCURRENT_WRITES_END();
    5422           0 :     total_size += data_size;
    5423             :   }
    5424             : 
    5425             :   // .rpc.img.Id id = 1;
    5426           0 :   if (this->has_id()) {
    5427           0 :     total_size += 1 +
    5428           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    5429           0 :         *id_);
    5430             :   }
    5431             : 
    5432             :   // float baselevel = 3;
    5433           0 :   if (this->baselevel() != 0) {
    5434           0 :     total_size += 1 + 4;
    5435             :   }
    5436             : 
    5437             :   // float unitlevel = 4;
    5438           0 :   if (this->unitlevel() != 0) {
    5439           0 :     total_size += 1 + 4;
    5440             :   }
    5441             : 
    5442           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    5443           0 :   SetCachedSize(cached_size);
    5444           0 :   return total_size;
    5445             : }
    5446             : 
    5447           0 : void ContourLevels::MergeFrom(const ::google::protobuf::Message& from) {
    5448             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.ContourLevels)
    5449           0 :   GOOGLE_DCHECK_NE(&from, this);
    5450             :   const ContourLevels* source =
    5451           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ContourLevels>(
    5452             :           &from);
    5453           0 :   if (source == NULL) {
    5454             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.ContourLevels)
    5455           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    5456             :   } else {
    5457             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.ContourLevels)
    5458           0 :     MergeFrom(*source);
    5459             :   }
    5460           0 : }
    5461             : 
    5462           0 : void ContourLevels::MergeFrom(const ContourLevels& from) {
    5463             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.ContourLevels)
    5464           0 :   GOOGLE_DCHECK_NE(&from, this);
    5465           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    5466           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5467             :   (void) cached_has_bits;
    5468             : 
    5469           0 :   levels_.MergeFrom(from.levels_);
    5470           0 :   if (from.has_id()) {
    5471           0 :     mutable_id()->::rpc::img::Id::MergeFrom(from.id());
    5472             :   }
    5473           0 :   if (from.baselevel() != 0) {
    5474           0 :     set_baselevel(from.baselevel());
    5475             :   }
    5476           0 :   if (from.unitlevel() != 0) {
    5477           0 :     set_unitlevel(from.unitlevel());
    5478             :   }
    5479           0 : }
    5480             : 
    5481           0 : void ContourLevels::CopyFrom(const ::google::protobuf::Message& from) {
    5482             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.ContourLevels)
    5483           0 :   if (&from == this) return;
    5484           0 :   Clear();
    5485           0 :   MergeFrom(from);
    5486             : }
    5487             : 
    5488           0 : void ContourLevels::CopyFrom(const ContourLevels& from) {
    5489             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.ContourLevels)
    5490           0 :   if (&from == this) return;
    5491           0 :   Clear();
    5492           0 :   MergeFrom(from);
    5493             : }
    5494             : 
    5495           0 : bool ContourLevels::IsInitialized() const {
    5496           0 :   return true;
    5497             : }
    5498             : 
    5499           0 : void ContourLevels::Swap(ContourLevels* other) {
    5500           0 :   if (other == this) return;
    5501           0 :   InternalSwap(other);
    5502             : }
    5503           0 : void ContourLevels::InternalSwap(ContourLevels* other) {
    5504             :   using std::swap;
    5505           0 :   levels_.InternalSwap(&other->levels_);
    5506           0 :   swap(id_, other->id_);
    5507           0 :   swap(baselevel_, other->baselevel_);
    5508           0 :   swap(unitlevel_, other->unitlevel_);
    5509           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    5510           0 : }
    5511             : 
    5512           0 : ::google::protobuf::Metadata ContourLevels::GetMetadata() const {
    5513           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    5514           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    5515             : }
    5516             : 
    5517             : 
    5518             : // ===================================================================
    5519             : 
    5520          11 : void ContourThickness::InitAsDefaultInstance() {
    5521          11 :   ::rpc::img::_ContourThickness_default_instance_._instance.get_mutable()->id_ = const_cast< ::rpc::img::Id*>(
    5522          11 :       ::rpc::img::Id::internal_default_instance());
    5523          11 : }
    5524             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    5525             : const int ContourThickness::kIdFieldNumber;
    5526             : const int ContourThickness::kThicknessFieldNumber;
    5527             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    5528             : 
    5529          11 : ContourThickness::ContourThickness()
    5530          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    5531          11 :   ::google::protobuf::internal::InitSCC(
    5532             :       &protobuf_img_2eproto::scc_info_ContourThickness.base);
    5533          11 :   SharedCtor();
    5534             :   // @@protoc_insertion_point(constructor:rpc.img.ContourThickness)
    5535          11 : }
    5536           0 : ContourThickness::ContourThickness(const ContourThickness& from)
    5537             :   : ::google::protobuf::Message(),
    5538           0 :       _internal_metadata_(NULL) {
    5539           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    5540           0 :   if (from.has_id()) {
    5541           0 :     id_ = new ::rpc::img::Id(*from.id_);
    5542             :   } else {
    5543           0 :     id_ = NULL;
    5544             :   }
    5545           0 :   thickness_ = from.thickness_;
    5546             :   // @@protoc_insertion_point(copy_constructor:rpc.img.ContourThickness)
    5547           0 : }
    5548             : 
    5549          11 : void ContourThickness::SharedCtor() {
    5550          11 :   ::memset(&id_, 0, static_cast<size_t>(
    5551             :       reinterpret_cast<char*>(&thickness_) -
    5552             :       reinterpret_cast<char*>(&id_)) + sizeof(thickness_));
    5553          11 : }
    5554             : 
    5555           0 : ContourThickness::~ContourThickness() {
    5556             :   // @@protoc_insertion_point(destructor:rpc.img.ContourThickness)
    5557           0 :   SharedDtor();
    5558           0 : }
    5559             : 
    5560           0 : void ContourThickness::SharedDtor() {
    5561           0 :   if (this != internal_default_instance()) delete id_;
    5562           0 : }
    5563             : 
    5564           0 : void ContourThickness::SetCachedSize(int size) const {
    5565           0 :   _cached_size_.Set(size);
    5566           0 : }
    5567           0 : const ::google::protobuf::Descriptor* ContourThickness::descriptor() {
    5568           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    5569           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    5570             : }
    5571             : 
    5572           0 : const ContourThickness& ContourThickness::default_instance() {
    5573           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_ContourThickness.base);
    5574           0 :   return *internal_default_instance();
    5575             : }
    5576             : 
    5577             : 
    5578           0 : void ContourThickness::Clear() {
    5579             : // @@protoc_insertion_point(message_clear_start:rpc.img.ContourThickness)
    5580           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5581             :   // Prevent compiler warnings about cached_has_bits being unused
    5582             :   (void) cached_has_bits;
    5583             : 
    5584           0 :   if (GetArenaNoVirtual() == NULL && id_ != NULL) {
    5585           0 :     delete id_;
    5586             :   }
    5587           0 :   id_ = NULL;
    5588           0 :   thickness_ = 0;
    5589           0 :   _internal_metadata_.Clear();
    5590           0 : }
    5591             : 
    5592           0 : bool ContourThickness::MergePartialFromCodedStream(
    5593             :     ::google::protobuf::io::CodedInputStream* input) {
    5594             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    5595             :   ::google::protobuf::uint32 tag;
    5596             :   // @@protoc_insertion_point(parse_start:rpc.img.ContourThickness)
    5597             :   for (;;) {
    5598             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    5599           0 :     tag = p.first;
    5600           0 :     if (!p.second) goto handle_unusual;
    5601           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    5602             :       // .rpc.img.Id id = 1;
    5603           0 :       case 1: {
    5604           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5605             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    5606           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    5607             :                input, mutable_id()));
    5608             :         } else {
    5609           0 :           goto handle_unusual;
    5610             :         }
    5611           0 :         break;
    5612             :       }
    5613             : 
    5614             :       // float thickness = 2;
    5615           0 :       case 2: {
    5616           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5617             :             static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
    5618             : 
    5619           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    5620             :                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
    5621             :                  input, &thickness_)));
    5622             :         } else {
    5623           0 :           goto handle_unusual;
    5624             :         }
    5625           0 :         break;
    5626             :       }
    5627             : 
    5628             :       default: {
    5629           0 :       handle_unusual:
    5630           0 :         if (tag == 0) {
    5631           0 :           goto success;
    5632             :         }
    5633           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    5634             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    5635           0 :         break;
    5636             :       }
    5637             :     }
    5638           0 :   }
    5639           0 : success:
    5640             :   // @@protoc_insertion_point(parse_success:rpc.img.ContourThickness)
    5641           0 :   return true;
    5642           0 : failure:
    5643             :   // @@protoc_insertion_point(parse_failure:rpc.img.ContourThickness)
    5644           0 :   return false;
    5645             : #undef DO_
    5646             : }
    5647             : 
    5648           0 : void ContourThickness::SerializeWithCachedSizes(
    5649             :     ::google::protobuf::io::CodedOutputStream* output) const {
    5650             :   // @@protoc_insertion_point(serialize_start:rpc.img.ContourThickness)
    5651           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5652             :   (void) cached_has_bits;
    5653             : 
    5654             :   // .rpc.img.Id id = 1;
    5655           0 :   if (this->has_id()) {
    5656           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    5657           0 :       1, this->_internal_id(), output);
    5658             :   }
    5659             : 
    5660             :   // float thickness = 2;
    5661           0 :   if (this->thickness() != 0) {
    5662           0 :     ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->thickness(), output);
    5663             :   }
    5664             : 
    5665           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5666           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    5667           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    5668             :   }
    5669             :   // @@protoc_insertion_point(serialize_end:rpc.img.ContourThickness)
    5670           0 : }
    5671             : 
    5672           0 : ::google::protobuf::uint8* ContourThickness::InternalSerializeWithCachedSizesToArray(
    5673             :     bool deterministic, ::google::protobuf::uint8* target) const {
    5674             :   (void)deterministic; // Unused
    5675             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.ContourThickness)
    5676           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5677             :   (void) cached_has_bits;
    5678             : 
    5679             :   // .rpc.img.Id id = 1;
    5680           0 :   if (this->has_id()) {
    5681             :     target = ::google::protobuf::internal::WireFormatLite::
    5682           0 :       InternalWriteMessageToArray(
    5683             :         1, this->_internal_id(), deterministic, target);
    5684             :   }
    5685             : 
    5686             :   // float thickness = 2;
    5687           0 :   if (this->thickness() != 0) {
    5688           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->thickness(), target);
    5689             :   }
    5690             : 
    5691           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5692           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    5693           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    5694             :   }
    5695             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.ContourThickness)
    5696           0 :   return target;
    5697             : }
    5698             : 
    5699           0 : size_t ContourThickness::ByteSizeLong() const {
    5700             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.ContourThickness)
    5701           0 :   size_t total_size = 0;
    5702             : 
    5703           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5704           0 :     total_size +=
    5705           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    5706           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    5707             :   }
    5708             :   // .rpc.img.Id id = 1;
    5709           0 :   if (this->has_id()) {
    5710           0 :     total_size += 1 +
    5711           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    5712           0 :         *id_);
    5713             :   }
    5714             : 
    5715             :   // float thickness = 2;
    5716           0 :   if (this->thickness() != 0) {
    5717           0 :     total_size += 1 + 4;
    5718             :   }
    5719             : 
    5720           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    5721           0 :   SetCachedSize(cached_size);
    5722           0 :   return total_size;
    5723             : }
    5724             : 
    5725           0 : void ContourThickness::MergeFrom(const ::google::protobuf::Message& from) {
    5726             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.ContourThickness)
    5727           0 :   GOOGLE_DCHECK_NE(&from, this);
    5728             :   const ContourThickness* source =
    5729           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ContourThickness>(
    5730             :           &from);
    5731           0 :   if (source == NULL) {
    5732             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.ContourThickness)
    5733           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    5734             :   } else {
    5735             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.ContourThickness)
    5736           0 :     MergeFrom(*source);
    5737             :   }
    5738           0 : }
    5739             : 
    5740           0 : void ContourThickness::MergeFrom(const ContourThickness& from) {
    5741             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.ContourThickness)
    5742           0 :   GOOGLE_DCHECK_NE(&from, this);
    5743           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    5744           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5745             :   (void) cached_has_bits;
    5746             : 
    5747           0 :   if (from.has_id()) {
    5748           0 :     mutable_id()->::rpc::img::Id::MergeFrom(from.id());
    5749             :   }
    5750           0 :   if (from.thickness() != 0) {
    5751           0 :     set_thickness(from.thickness());
    5752             :   }
    5753           0 : }
    5754             : 
    5755           0 : void ContourThickness::CopyFrom(const ::google::protobuf::Message& from) {
    5756             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.ContourThickness)
    5757           0 :   if (&from == this) return;
    5758           0 :   Clear();
    5759           0 :   MergeFrom(from);
    5760             : }
    5761             : 
    5762           0 : void ContourThickness::CopyFrom(const ContourThickness& from) {
    5763             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.ContourThickness)
    5764           0 :   if (&from == this) return;
    5765           0 :   Clear();
    5766           0 :   MergeFrom(from);
    5767             : }
    5768             : 
    5769           0 : bool ContourThickness::IsInitialized() const {
    5770           0 :   return true;
    5771             : }
    5772             : 
    5773           0 : void ContourThickness::Swap(ContourThickness* other) {
    5774           0 :   if (other == this) return;
    5775           0 :   InternalSwap(other);
    5776             : }
    5777           0 : void ContourThickness::InternalSwap(ContourThickness* other) {
    5778             :   using std::swap;
    5779           0 :   swap(id_, other->id_);
    5780           0 :   swap(thickness_, other->thickness_);
    5781           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    5782           0 : }
    5783             : 
    5784           0 : ::google::protobuf::Metadata ContourThickness::GetMetadata() const {
    5785           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    5786           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    5787             : }
    5788             : 
    5789             : 
    5790             : // ===================================================================
    5791             : 
    5792          11 : void ContourColor::InitAsDefaultInstance() {
    5793          11 :   ::rpc::img::_ContourColor_default_instance_._instance.get_mutable()->id_ = const_cast< ::rpc::img::Id*>(
    5794          11 :       ::rpc::img::Id::internal_default_instance());
    5795          11 : }
    5796             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    5797             : const int ContourColor::kIdFieldNumber;
    5798             : const int ContourColor::kColorFieldNumber;
    5799             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    5800             : 
    5801          11 : ContourColor::ContourColor()
    5802          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    5803          11 :   ::google::protobuf::internal::InitSCC(
    5804             :       &protobuf_img_2eproto::scc_info_ContourColor.base);
    5805          11 :   SharedCtor();
    5806             :   // @@protoc_insertion_point(constructor:rpc.img.ContourColor)
    5807          11 : }
    5808           0 : ContourColor::ContourColor(const ContourColor& from)
    5809             :   : ::google::protobuf::Message(),
    5810           0 :       _internal_metadata_(NULL) {
    5811           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    5812           0 :   color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    5813           0 :   if (from.color().size() > 0) {
    5814           0 :     color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
    5815             :   }
    5816           0 :   if (from.has_id()) {
    5817           0 :     id_ = new ::rpc::img::Id(*from.id_);
    5818             :   } else {
    5819           0 :     id_ = NULL;
    5820             :   }
    5821             :   // @@protoc_insertion_point(copy_constructor:rpc.img.ContourColor)
    5822           0 : }
    5823             : 
    5824          11 : void ContourColor::SharedCtor() {
    5825          11 :   color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    5826          11 :   id_ = NULL;
    5827          11 : }
    5828             : 
    5829           0 : ContourColor::~ContourColor() {
    5830             :   // @@protoc_insertion_point(destructor:rpc.img.ContourColor)
    5831           0 :   SharedDtor();
    5832           0 : }
    5833             : 
    5834           0 : void ContourColor::SharedDtor() {
    5835           0 :   color_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    5836           0 :   if (this != internal_default_instance()) delete id_;
    5837           0 : }
    5838             : 
    5839           0 : void ContourColor::SetCachedSize(int size) const {
    5840           0 :   _cached_size_.Set(size);
    5841           0 : }
    5842           0 : const ::google::protobuf::Descriptor* ContourColor::descriptor() {
    5843           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    5844           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    5845             : }
    5846             : 
    5847           0 : const ContourColor& ContourColor::default_instance() {
    5848           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_ContourColor.base);
    5849           0 :   return *internal_default_instance();
    5850             : }
    5851             : 
    5852             : 
    5853           0 : void ContourColor::Clear() {
    5854             : // @@protoc_insertion_point(message_clear_start:rpc.img.ContourColor)
    5855           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5856             :   // Prevent compiler warnings about cached_has_bits being unused
    5857             :   (void) cached_has_bits;
    5858             : 
    5859           0 :   color_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    5860           0 :   if (GetArenaNoVirtual() == NULL && id_ != NULL) {
    5861           0 :     delete id_;
    5862             :   }
    5863           0 :   id_ = NULL;
    5864           0 :   _internal_metadata_.Clear();
    5865           0 : }
    5866             : 
    5867           0 : bool ContourColor::MergePartialFromCodedStream(
    5868             :     ::google::protobuf::io::CodedInputStream* input) {
    5869             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    5870             :   ::google::protobuf::uint32 tag;
    5871             :   // @@protoc_insertion_point(parse_start:rpc.img.ContourColor)
    5872             :   for (;;) {
    5873             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    5874           0 :     tag = p.first;
    5875           0 :     if (!p.second) goto handle_unusual;
    5876           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    5877             :       // .rpc.img.Id id = 1;
    5878           0 :       case 1: {
    5879           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5880             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    5881           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    5882             :                input, mutable_id()));
    5883             :         } else {
    5884           0 :           goto handle_unusual;
    5885             :         }
    5886           0 :         break;
    5887             :       }
    5888             : 
    5889             :       // string color = 2;
    5890           0 :       case 2: {
    5891           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    5892             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    5893           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    5894             :                 input, this->mutable_color()));
    5895           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    5896             :             this->color().data(), static_cast<int>(this->color().length()),
    5897             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    5898             :             "rpc.img.ContourColor.color"));
    5899             :         } else {
    5900           0 :           goto handle_unusual;
    5901             :         }
    5902           0 :         break;
    5903             :       }
    5904             : 
    5905             :       default: {
    5906           0 :       handle_unusual:
    5907           0 :         if (tag == 0) {
    5908           0 :           goto success;
    5909             :         }
    5910           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    5911             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    5912           0 :         break;
    5913             :       }
    5914             :     }
    5915           0 :   }
    5916           0 : success:
    5917             :   // @@protoc_insertion_point(parse_success:rpc.img.ContourColor)
    5918           0 :   return true;
    5919           0 : failure:
    5920             :   // @@protoc_insertion_point(parse_failure:rpc.img.ContourColor)
    5921           0 :   return false;
    5922             : #undef DO_
    5923             : }
    5924             : 
    5925           0 : void ContourColor::SerializeWithCachedSizes(
    5926             :     ::google::protobuf::io::CodedOutputStream* output) const {
    5927             :   // @@protoc_insertion_point(serialize_start:rpc.img.ContourColor)
    5928           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5929             :   (void) cached_has_bits;
    5930             : 
    5931             :   // .rpc.img.Id id = 1;
    5932           0 :   if (this->has_id()) {
    5933           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    5934           0 :       1, this->_internal_id(), output);
    5935             :   }
    5936             : 
    5937             :   // string color = 2;
    5938           0 :   if (this->color().size() > 0) {
    5939           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    5940           0 :       this->color().data(), static_cast<int>(this->color().length()),
    5941             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    5942             :       "rpc.img.ContourColor.color");
    5943           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    5944             :       2, this->color(), output);
    5945             :   }
    5946             : 
    5947           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5948           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    5949           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    5950             :   }
    5951             :   // @@protoc_insertion_point(serialize_end:rpc.img.ContourColor)
    5952           0 : }
    5953             : 
    5954           0 : ::google::protobuf::uint8* ContourColor::InternalSerializeWithCachedSizesToArray(
    5955             :     bool deterministic, ::google::protobuf::uint8* target) const {
    5956             :   (void)deterministic; // Unused
    5957             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.ContourColor)
    5958           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    5959             :   (void) cached_has_bits;
    5960             : 
    5961             :   // .rpc.img.Id id = 1;
    5962           0 :   if (this->has_id()) {
    5963             :     target = ::google::protobuf::internal::WireFormatLite::
    5964           0 :       InternalWriteMessageToArray(
    5965             :         1, this->_internal_id(), deterministic, target);
    5966             :   }
    5967             : 
    5968             :   // string color = 2;
    5969           0 :   if (this->color().size() > 0) {
    5970           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    5971           0 :       this->color().data(), static_cast<int>(this->color().length()),
    5972             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    5973             :       "rpc.img.ContourColor.color");
    5974             :     target =
    5975           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    5976             :         2, this->color(), target);
    5977             :   }
    5978             : 
    5979           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5980           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    5981           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    5982             :   }
    5983             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.ContourColor)
    5984           0 :   return target;
    5985             : }
    5986             : 
    5987           0 : size_t ContourColor::ByteSizeLong() const {
    5988             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.ContourColor)
    5989           0 :   size_t total_size = 0;
    5990             : 
    5991           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    5992           0 :     total_size +=
    5993           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    5994           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    5995             :   }
    5996             :   // string color = 2;
    5997           0 :   if (this->color().size() > 0) {
    5998           0 :     total_size += 1 +
    5999           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    6000             :         this->color());
    6001             :   }
    6002             : 
    6003             :   // .rpc.img.Id id = 1;
    6004           0 :   if (this->has_id()) {
    6005           0 :     total_size += 1 +
    6006           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    6007           0 :         *id_);
    6008             :   }
    6009             : 
    6010           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    6011           0 :   SetCachedSize(cached_size);
    6012           0 :   return total_size;
    6013             : }
    6014             : 
    6015           0 : void ContourColor::MergeFrom(const ::google::protobuf::Message& from) {
    6016             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.ContourColor)
    6017           0 :   GOOGLE_DCHECK_NE(&from, this);
    6018             :   const ContourColor* source =
    6019           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ContourColor>(
    6020             :           &from);
    6021           0 :   if (source == NULL) {
    6022             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.ContourColor)
    6023           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    6024             :   } else {
    6025             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.ContourColor)
    6026           0 :     MergeFrom(*source);
    6027             :   }
    6028           0 : }
    6029             : 
    6030           0 : void ContourColor::MergeFrom(const ContourColor& from) {
    6031             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.ContourColor)
    6032           0 :   GOOGLE_DCHECK_NE(&from, this);
    6033           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    6034           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6035             :   (void) cached_has_bits;
    6036             : 
    6037           0 :   if (from.color().size() > 0) {
    6038             : 
    6039           0 :     color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
    6040             :   }
    6041           0 :   if (from.has_id()) {
    6042           0 :     mutable_id()->::rpc::img::Id::MergeFrom(from.id());
    6043             :   }
    6044           0 : }
    6045             : 
    6046           0 : void ContourColor::CopyFrom(const ::google::protobuf::Message& from) {
    6047             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.ContourColor)
    6048           0 :   if (&from == this) return;
    6049           0 :   Clear();
    6050           0 :   MergeFrom(from);
    6051             : }
    6052             : 
    6053           0 : void ContourColor::CopyFrom(const ContourColor& from) {
    6054             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.ContourColor)
    6055           0 :   if (&from == this) return;
    6056           0 :   Clear();
    6057           0 :   MergeFrom(from);
    6058             : }
    6059             : 
    6060           0 : bool ContourColor::IsInitialized() const {
    6061           0 :   return true;
    6062             : }
    6063             : 
    6064           0 : void ContourColor::Swap(ContourColor* other) {
    6065           0 :   if (other == this) return;
    6066           0 :   InternalSwap(other);
    6067             : }
    6068           0 : void ContourColor::InternalSwap(ContourColor* other) {
    6069             :   using std::swap;
    6070           0 :   color_.Swap(&other->color_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    6071             :     GetArenaNoVirtual());
    6072           0 :   swap(id_, other->id_);
    6073           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    6074           0 : }
    6075             : 
    6076           0 : ::google::protobuf::Metadata ContourColor::GetMetadata() const {
    6077           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    6078           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    6079             : }
    6080             : 
    6081             : 
    6082             : // ===================================================================
    6083             : 
    6084          11 : void Axes::InitAsDefaultInstance() {
    6085          11 :   ::rpc::img::_Axes_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    6086          11 :       ::rpc::img::Id::internal_default_instance());
    6087          11 : }
    6088             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    6089             : const int Axes::kPanelFieldNumber;
    6090             : const int Axes::kXFieldNumber;
    6091             : const int Axes::kYFieldNumber;
    6092             : const int Axes::kZFieldNumber;
    6093             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    6094             : 
    6095          11 : Axes::Axes()
    6096          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    6097          11 :   ::google::protobuf::internal::InitSCC(
    6098             :       &protobuf_img_2eproto::scc_info_Axes.base);
    6099          11 :   SharedCtor();
    6100             :   // @@protoc_insertion_point(constructor:rpc.img.Axes)
    6101          11 : }
    6102           0 : Axes::Axes(const Axes& from)
    6103             :   : ::google::protobuf::Message(),
    6104           0 :       _internal_metadata_(NULL) {
    6105           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    6106           0 :   x_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6107           0 :   if (from.x().size() > 0) {
    6108           0 :     x_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.x_);
    6109             :   }
    6110           0 :   y_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6111           0 :   if (from.y().size() > 0) {
    6112           0 :     y_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.y_);
    6113             :   }
    6114           0 :   z_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6115           0 :   if (from.z().size() > 0) {
    6116           0 :     z_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.z_);
    6117             :   }
    6118           0 :   if (from.has_panel()) {
    6119           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    6120             :   } else {
    6121           0 :     panel_ = NULL;
    6122             :   }
    6123             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Axes)
    6124           0 : }
    6125             : 
    6126          11 : void Axes::SharedCtor() {
    6127          11 :   x_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6128          11 :   y_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6129          11 :   z_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6130          11 :   panel_ = NULL;
    6131          11 : }
    6132             : 
    6133           0 : Axes::~Axes() {
    6134             :   // @@protoc_insertion_point(destructor:rpc.img.Axes)
    6135           0 :   SharedDtor();
    6136           0 : }
    6137             : 
    6138           0 : void Axes::SharedDtor() {
    6139           0 :   x_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6140           0 :   y_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6141           0 :   z_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6142           0 :   if (this != internal_default_instance()) delete panel_;
    6143           0 : }
    6144             : 
    6145           0 : void Axes::SetCachedSize(int size) const {
    6146           0 :   _cached_size_.Set(size);
    6147           0 : }
    6148           0 : const ::google::protobuf::Descriptor* Axes::descriptor() {
    6149           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    6150           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    6151             : }
    6152             : 
    6153           0 : const Axes& Axes::default_instance() {
    6154           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Axes.base);
    6155           0 :   return *internal_default_instance();
    6156             : }
    6157             : 
    6158             : 
    6159           0 : void Axes::Clear() {
    6160             : // @@protoc_insertion_point(message_clear_start:rpc.img.Axes)
    6161           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6162             :   // Prevent compiler warnings about cached_has_bits being unused
    6163             :   (void) cached_has_bits;
    6164             : 
    6165           0 :   x_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6166           0 :   y_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6167           0 :   z_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6168           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    6169           0 :     delete panel_;
    6170             :   }
    6171           0 :   panel_ = NULL;
    6172           0 :   _internal_metadata_.Clear();
    6173           0 : }
    6174             : 
    6175           0 : bool Axes::MergePartialFromCodedStream(
    6176             :     ::google::protobuf::io::CodedInputStream* input) {
    6177             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    6178             :   ::google::protobuf::uint32 tag;
    6179             :   // @@protoc_insertion_point(parse_start:rpc.img.Axes)
    6180             :   for (;;) {
    6181             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    6182           0 :     tag = p.first;
    6183           0 :     if (!p.second) goto handle_unusual;
    6184           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    6185             :       // .rpc.img.Id panel = 1;
    6186           0 :       case 1: {
    6187           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6188             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    6189           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    6190             :                input, mutable_panel()));
    6191             :         } else {
    6192           0 :           goto handle_unusual;
    6193             :         }
    6194           0 :         break;
    6195             :       }
    6196             : 
    6197             :       // string x = 2;
    6198           0 :       case 2: {
    6199           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6200             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    6201           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    6202             :                 input, this->mutable_x()));
    6203           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6204             :             this->x().data(), static_cast<int>(this->x().length()),
    6205             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    6206             :             "rpc.img.Axes.x"));
    6207             :         } else {
    6208           0 :           goto handle_unusual;
    6209             :         }
    6210           0 :         break;
    6211             :       }
    6212             : 
    6213             :       // string y = 3;
    6214           0 :       case 3: {
    6215           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6216             :             static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
    6217           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    6218             :                 input, this->mutable_y()));
    6219           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6220             :             this->y().data(), static_cast<int>(this->y().length()),
    6221             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    6222             :             "rpc.img.Axes.y"));
    6223             :         } else {
    6224           0 :           goto handle_unusual;
    6225             :         }
    6226           0 :         break;
    6227             :       }
    6228             : 
    6229             :       // string z = 4;
    6230           0 :       case 4: {
    6231           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6232             :             static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
    6233           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    6234             :                 input, this->mutable_z()));
    6235           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6236             :             this->z().data(), static_cast<int>(this->z().length()),
    6237             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    6238             :             "rpc.img.Axes.z"));
    6239             :         } else {
    6240           0 :           goto handle_unusual;
    6241             :         }
    6242           0 :         break;
    6243             :       }
    6244             : 
    6245             :       default: {
    6246           0 :       handle_unusual:
    6247           0 :         if (tag == 0) {
    6248           0 :           goto success;
    6249             :         }
    6250           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    6251             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    6252           0 :         break;
    6253             :       }
    6254             :     }
    6255           0 :   }
    6256           0 : success:
    6257             :   // @@protoc_insertion_point(parse_success:rpc.img.Axes)
    6258           0 :   return true;
    6259           0 : failure:
    6260             :   // @@protoc_insertion_point(parse_failure:rpc.img.Axes)
    6261           0 :   return false;
    6262             : #undef DO_
    6263             : }
    6264             : 
    6265           0 : void Axes::SerializeWithCachedSizes(
    6266             :     ::google::protobuf::io::CodedOutputStream* output) const {
    6267             :   // @@protoc_insertion_point(serialize_start:rpc.img.Axes)
    6268           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6269             :   (void) cached_has_bits;
    6270             : 
    6271             :   // .rpc.img.Id panel = 1;
    6272           0 :   if (this->has_panel()) {
    6273           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    6274           0 :       1, this->_internal_panel(), output);
    6275             :   }
    6276             : 
    6277             :   // string x = 2;
    6278           0 :   if (this->x().size() > 0) {
    6279           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6280           0 :       this->x().data(), static_cast<int>(this->x().length()),
    6281             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6282             :       "rpc.img.Axes.x");
    6283           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    6284             :       2, this->x(), output);
    6285             :   }
    6286             : 
    6287             :   // string y = 3;
    6288           0 :   if (this->y().size() > 0) {
    6289           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6290           0 :       this->y().data(), static_cast<int>(this->y().length()),
    6291             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6292             :       "rpc.img.Axes.y");
    6293           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    6294             :       3, this->y(), output);
    6295             :   }
    6296             : 
    6297             :   // string z = 4;
    6298           0 :   if (this->z().size() > 0) {
    6299           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6300           0 :       this->z().data(), static_cast<int>(this->z().length()),
    6301             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6302             :       "rpc.img.Axes.z");
    6303           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    6304             :       4, this->z(), output);
    6305             :   }
    6306             : 
    6307           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6308           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    6309           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    6310             :   }
    6311             :   // @@protoc_insertion_point(serialize_end:rpc.img.Axes)
    6312           0 : }
    6313             : 
    6314           0 : ::google::protobuf::uint8* Axes::InternalSerializeWithCachedSizesToArray(
    6315             :     bool deterministic, ::google::protobuf::uint8* target) const {
    6316             :   (void)deterministic; // Unused
    6317             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Axes)
    6318           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6319             :   (void) cached_has_bits;
    6320             : 
    6321             :   // .rpc.img.Id panel = 1;
    6322           0 :   if (this->has_panel()) {
    6323             :     target = ::google::protobuf::internal::WireFormatLite::
    6324           0 :       InternalWriteMessageToArray(
    6325             :         1, this->_internal_panel(), deterministic, target);
    6326             :   }
    6327             : 
    6328             :   // string x = 2;
    6329           0 :   if (this->x().size() > 0) {
    6330           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6331           0 :       this->x().data(), static_cast<int>(this->x().length()),
    6332             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6333             :       "rpc.img.Axes.x");
    6334             :     target =
    6335           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    6336             :         2, this->x(), target);
    6337             :   }
    6338             : 
    6339             :   // string y = 3;
    6340           0 :   if (this->y().size() > 0) {
    6341           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6342           0 :       this->y().data(), static_cast<int>(this->y().length()),
    6343             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6344             :       "rpc.img.Axes.y");
    6345             :     target =
    6346           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    6347             :         3, this->y(), target);
    6348             :   }
    6349             : 
    6350             :   // string z = 4;
    6351           0 :   if (this->z().size() > 0) {
    6352           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6353           0 :       this->z().data(), static_cast<int>(this->z().length()),
    6354             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6355             :       "rpc.img.Axes.z");
    6356             :     target =
    6357           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    6358             :         4, this->z(), target);
    6359             :   }
    6360             : 
    6361           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6362           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    6363           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    6364             :   }
    6365             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Axes)
    6366           0 :   return target;
    6367             : }
    6368             : 
    6369           0 : size_t Axes::ByteSizeLong() const {
    6370             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Axes)
    6371           0 :   size_t total_size = 0;
    6372             : 
    6373           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6374           0 :     total_size +=
    6375           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    6376           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    6377             :   }
    6378             :   // string x = 2;
    6379           0 :   if (this->x().size() > 0) {
    6380           0 :     total_size += 1 +
    6381           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    6382             :         this->x());
    6383             :   }
    6384             : 
    6385             :   // string y = 3;
    6386           0 :   if (this->y().size() > 0) {
    6387           0 :     total_size += 1 +
    6388           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    6389             :         this->y());
    6390             :   }
    6391             : 
    6392             :   // string z = 4;
    6393           0 :   if (this->z().size() > 0) {
    6394           0 :     total_size += 1 +
    6395           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    6396             :         this->z());
    6397             :   }
    6398             : 
    6399             :   // .rpc.img.Id panel = 1;
    6400           0 :   if (this->has_panel()) {
    6401           0 :     total_size += 1 +
    6402           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    6403           0 :         *panel_);
    6404             :   }
    6405             : 
    6406           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    6407           0 :   SetCachedSize(cached_size);
    6408           0 :   return total_size;
    6409             : }
    6410             : 
    6411           0 : void Axes::MergeFrom(const ::google::protobuf::Message& from) {
    6412             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Axes)
    6413           0 :   GOOGLE_DCHECK_NE(&from, this);
    6414             :   const Axes* source =
    6415           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Axes>(
    6416             :           &from);
    6417           0 :   if (source == NULL) {
    6418             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Axes)
    6419           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    6420             :   } else {
    6421             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Axes)
    6422           0 :     MergeFrom(*source);
    6423             :   }
    6424           0 : }
    6425             : 
    6426           0 : void Axes::MergeFrom(const Axes& from) {
    6427             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Axes)
    6428           0 :   GOOGLE_DCHECK_NE(&from, this);
    6429           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    6430           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6431             :   (void) cached_has_bits;
    6432             : 
    6433           0 :   if (from.x().size() > 0) {
    6434             : 
    6435           0 :     x_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.x_);
    6436             :   }
    6437           0 :   if (from.y().size() > 0) {
    6438             : 
    6439           0 :     y_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.y_);
    6440             :   }
    6441           0 :   if (from.z().size() > 0) {
    6442             : 
    6443           0 :     z_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.z_);
    6444             :   }
    6445           0 :   if (from.has_panel()) {
    6446           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    6447             :   }
    6448           0 : }
    6449             : 
    6450           0 : void Axes::CopyFrom(const ::google::protobuf::Message& from) {
    6451             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Axes)
    6452           0 :   if (&from == this) return;
    6453           0 :   Clear();
    6454           0 :   MergeFrom(from);
    6455             : }
    6456             : 
    6457           0 : void Axes::CopyFrom(const Axes& from) {
    6458             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Axes)
    6459           0 :   if (&from == this) return;
    6460           0 :   Clear();
    6461           0 :   MergeFrom(from);
    6462             : }
    6463             : 
    6464           0 : bool Axes::IsInitialized() const {
    6465           0 :   return true;
    6466             : }
    6467             : 
    6468           0 : void Axes::Swap(Axes* other) {
    6469           0 :   if (other == this) return;
    6470           0 :   InternalSwap(other);
    6471             : }
    6472           0 : void Axes::InternalSwap(Axes* other) {
    6473             :   using std::swap;
    6474           0 :   x_.Swap(&other->x_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    6475             :     GetArenaNoVirtual());
    6476           0 :   y_.Swap(&other->y_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    6477             :     GetArenaNoVirtual());
    6478           0 :   z_.Swap(&other->z_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    6479             :     GetArenaNoVirtual());
    6480           0 :   swap(panel_, other->panel_);
    6481           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    6482           0 : }
    6483             : 
    6484           0 : ::google::protobuf::Metadata Axes::GetMetadata() const {
    6485           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    6486           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    6487             : }
    6488             : 
    6489             : 
    6490             : // ===================================================================
    6491             : 
    6492          11 : void ColorMap::InitAsDefaultInstance() {
    6493          11 :   ::rpc::img::_ColorMap_default_instance_._instance.get_mutable()->id_ = const_cast< ::rpc::img::Id*>(
    6494          11 :       ::rpc::img::Id::internal_default_instance());
    6495          11 : }
    6496             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    6497             : const int ColorMap::kIdFieldNumber;
    6498             : const int ColorMap::kMapFieldNumber;
    6499             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    6500             : 
    6501          11 : ColorMap::ColorMap()
    6502          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    6503          11 :   ::google::protobuf::internal::InitSCC(
    6504             :       &protobuf_img_2eproto::scc_info_ColorMap.base);
    6505          11 :   SharedCtor();
    6506             :   // @@protoc_insertion_point(constructor:rpc.img.ColorMap)
    6507          11 : }
    6508           0 : ColorMap::ColorMap(const ColorMap& from)
    6509             :   : ::google::protobuf::Message(),
    6510           0 :       _internal_metadata_(NULL) {
    6511           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    6512           0 :   map_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6513           0 :   if (from.map().size() > 0) {
    6514           0 :     map_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.map_);
    6515             :   }
    6516           0 :   if (from.has_id()) {
    6517           0 :     id_ = new ::rpc::img::Id(*from.id_);
    6518             :   } else {
    6519           0 :     id_ = NULL;
    6520             :   }
    6521             :   // @@protoc_insertion_point(copy_constructor:rpc.img.ColorMap)
    6522           0 : }
    6523             : 
    6524          11 : void ColorMap::SharedCtor() {
    6525          11 :   map_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6526          11 :   id_ = NULL;
    6527          11 : }
    6528             : 
    6529           0 : ColorMap::~ColorMap() {
    6530             :   // @@protoc_insertion_point(destructor:rpc.img.ColorMap)
    6531           0 :   SharedDtor();
    6532           0 : }
    6533             : 
    6534           0 : void ColorMap::SharedDtor() {
    6535           0 :   map_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6536           0 :   if (this != internal_default_instance()) delete id_;
    6537           0 : }
    6538             : 
    6539           0 : void ColorMap::SetCachedSize(int size) const {
    6540           0 :   _cached_size_.Set(size);
    6541           0 : }
    6542           0 : const ::google::protobuf::Descriptor* ColorMap::descriptor() {
    6543           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    6544           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    6545             : }
    6546             : 
    6547           0 : const ColorMap& ColorMap::default_instance() {
    6548           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_ColorMap.base);
    6549           0 :   return *internal_default_instance();
    6550             : }
    6551             : 
    6552             : 
    6553           0 : void ColorMap::Clear() {
    6554             : // @@protoc_insertion_point(message_clear_start:rpc.img.ColorMap)
    6555           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6556             :   // Prevent compiler warnings about cached_has_bits being unused
    6557             :   (void) cached_has_bits;
    6558             : 
    6559           0 :   map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    6560           0 :   if (GetArenaNoVirtual() == NULL && id_ != NULL) {
    6561           0 :     delete id_;
    6562             :   }
    6563           0 :   id_ = NULL;
    6564           0 :   _internal_metadata_.Clear();
    6565           0 : }
    6566             : 
    6567           0 : bool ColorMap::MergePartialFromCodedStream(
    6568             :     ::google::protobuf::io::CodedInputStream* input) {
    6569             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    6570             :   ::google::protobuf::uint32 tag;
    6571             :   // @@protoc_insertion_point(parse_start:rpc.img.ColorMap)
    6572             :   for (;;) {
    6573             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    6574           0 :     tag = p.first;
    6575           0 :     if (!p.second) goto handle_unusual;
    6576           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    6577             :       // .rpc.img.Id id = 1;
    6578           0 :       case 1: {
    6579           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6580             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    6581           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    6582             :                input, mutable_id()));
    6583             :         } else {
    6584           0 :           goto handle_unusual;
    6585             :         }
    6586           0 :         break;
    6587             :       }
    6588             : 
    6589             :       // string map = 2;
    6590           0 :       case 2: {
    6591           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6592             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    6593           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    6594             :                 input, this->mutable_map()));
    6595           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6596             :             this->map().data(), static_cast<int>(this->map().length()),
    6597             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    6598             :             "rpc.img.ColorMap.map"));
    6599             :         } else {
    6600           0 :           goto handle_unusual;
    6601             :         }
    6602           0 :         break;
    6603             :       }
    6604             : 
    6605             :       default: {
    6606           0 :       handle_unusual:
    6607           0 :         if (tag == 0) {
    6608           0 :           goto success;
    6609             :         }
    6610           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    6611             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    6612           0 :         break;
    6613             :       }
    6614             :     }
    6615           0 :   }
    6616           0 : success:
    6617             :   // @@protoc_insertion_point(parse_success:rpc.img.ColorMap)
    6618           0 :   return true;
    6619           0 : failure:
    6620             :   // @@protoc_insertion_point(parse_failure:rpc.img.ColorMap)
    6621           0 :   return false;
    6622             : #undef DO_
    6623             : }
    6624             : 
    6625           0 : void ColorMap::SerializeWithCachedSizes(
    6626             :     ::google::protobuf::io::CodedOutputStream* output) const {
    6627             :   // @@protoc_insertion_point(serialize_start:rpc.img.ColorMap)
    6628           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6629             :   (void) cached_has_bits;
    6630             : 
    6631             :   // .rpc.img.Id id = 1;
    6632           0 :   if (this->has_id()) {
    6633           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    6634           0 :       1, this->_internal_id(), output);
    6635             :   }
    6636             : 
    6637             :   // string map = 2;
    6638           0 :   if (this->map().size() > 0) {
    6639           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6640           0 :       this->map().data(), static_cast<int>(this->map().length()),
    6641             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6642             :       "rpc.img.ColorMap.map");
    6643           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    6644             :       2, this->map(), output);
    6645             :   }
    6646             : 
    6647           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6648           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    6649           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    6650             :   }
    6651             :   // @@protoc_insertion_point(serialize_end:rpc.img.ColorMap)
    6652           0 : }
    6653             : 
    6654           0 : ::google::protobuf::uint8* ColorMap::InternalSerializeWithCachedSizesToArray(
    6655             :     bool deterministic, ::google::protobuf::uint8* target) const {
    6656             :   (void)deterministic; // Unused
    6657             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.ColorMap)
    6658           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6659             :   (void) cached_has_bits;
    6660             : 
    6661             :   // .rpc.img.Id id = 1;
    6662           0 :   if (this->has_id()) {
    6663             :     target = ::google::protobuf::internal::WireFormatLite::
    6664           0 :       InternalWriteMessageToArray(
    6665             :         1, this->_internal_id(), deterministic, target);
    6666             :   }
    6667             : 
    6668             :   // string map = 2;
    6669           0 :   if (this->map().size() > 0) {
    6670           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    6671           0 :       this->map().data(), static_cast<int>(this->map().length()),
    6672             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    6673             :       "rpc.img.ColorMap.map");
    6674             :     target =
    6675           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    6676             :         2, this->map(), target);
    6677             :   }
    6678             : 
    6679           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6680           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    6681           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    6682             :   }
    6683             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.ColorMap)
    6684           0 :   return target;
    6685             : }
    6686             : 
    6687           0 : size_t ColorMap::ByteSizeLong() const {
    6688             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.ColorMap)
    6689           0 :   size_t total_size = 0;
    6690             : 
    6691           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6692           0 :     total_size +=
    6693           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    6694           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    6695             :   }
    6696             :   // string map = 2;
    6697           0 :   if (this->map().size() > 0) {
    6698           0 :     total_size += 1 +
    6699           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    6700             :         this->map());
    6701             :   }
    6702             : 
    6703             :   // .rpc.img.Id id = 1;
    6704           0 :   if (this->has_id()) {
    6705           0 :     total_size += 1 +
    6706           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    6707           0 :         *id_);
    6708             :   }
    6709             : 
    6710           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    6711           0 :   SetCachedSize(cached_size);
    6712           0 :   return total_size;
    6713             : }
    6714             : 
    6715           0 : void ColorMap::MergeFrom(const ::google::protobuf::Message& from) {
    6716             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.ColorMap)
    6717           0 :   GOOGLE_DCHECK_NE(&from, this);
    6718             :   const ColorMap* source =
    6719           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ColorMap>(
    6720             :           &from);
    6721           0 :   if (source == NULL) {
    6722             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.ColorMap)
    6723           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    6724             :   } else {
    6725             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.ColorMap)
    6726           0 :     MergeFrom(*source);
    6727             :   }
    6728           0 : }
    6729             : 
    6730           0 : void ColorMap::MergeFrom(const ColorMap& from) {
    6731             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.ColorMap)
    6732           0 :   GOOGLE_DCHECK_NE(&from, this);
    6733           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    6734           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6735             :   (void) cached_has_bits;
    6736             : 
    6737           0 :   if (from.map().size() > 0) {
    6738             : 
    6739           0 :     map_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.map_);
    6740             :   }
    6741           0 :   if (from.has_id()) {
    6742           0 :     mutable_id()->::rpc::img::Id::MergeFrom(from.id());
    6743             :   }
    6744           0 : }
    6745             : 
    6746           0 : void ColorMap::CopyFrom(const ::google::protobuf::Message& from) {
    6747             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.ColorMap)
    6748           0 :   if (&from == this) return;
    6749           0 :   Clear();
    6750           0 :   MergeFrom(from);
    6751             : }
    6752             : 
    6753           0 : void ColorMap::CopyFrom(const ColorMap& from) {
    6754             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.ColorMap)
    6755           0 :   if (&from == this) return;
    6756           0 :   Clear();
    6757           0 :   MergeFrom(from);
    6758             : }
    6759             : 
    6760           0 : bool ColorMap::IsInitialized() const {
    6761           0 :   return true;
    6762             : }
    6763             : 
    6764           0 : void ColorMap::Swap(ColorMap* other) {
    6765           0 :   if (other == this) return;
    6766           0 :   InternalSwap(other);
    6767             : }
    6768           0 : void ColorMap::InternalSwap(ColorMap* other) {
    6769             :   using std::swap;
    6770           0 :   map_.Swap(&other->map_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    6771             :     GetArenaNoVirtual());
    6772           0 :   swap(id_, other->id_);
    6773           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    6774           0 : }
    6775             : 
    6776           0 : ::google::protobuf::Metadata ColorMap::GetMetadata() const {
    6777           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    6778           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    6779             : }
    6780             : 
    6781             : 
    6782             : // ===================================================================
    6783             : 
    6784          11 : void Toggle::InitAsDefaultInstance() {
    6785          11 :   ::rpc::img::_Toggle_default_instance_._instance.get_mutable()->id_ = const_cast< ::rpc::img::Id*>(
    6786          11 :       ::rpc::img::Id::internal_default_instance());
    6787          11 : }
    6788             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    6789             : const int Toggle::kIdFieldNumber;
    6790             : const int Toggle::kStateFieldNumber;
    6791             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    6792             : 
    6793          11 : Toggle::Toggle()
    6794          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    6795          11 :   ::google::protobuf::internal::InitSCC(
    6796             :       &protobuf_img_2eproto::scc_info_Toggle.base);
    6797          11 :   SharedCtor();
    6798             :   // @@protoc_insertion_point(constructor:rpc.img.Toggle)
    6799          11 : }
    6800           0 : Toggle::Toggle(const Toggle& from)
    6801             :   : ::google::protobuf::Message(),
    6802           0 :       _internal_metadata_(NULL) {
    6803           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    6804           0 :   if (from.has_id()) {
    6805           0 :     id_ = new ::rpc::img::Id(*from.id_);
    6806             :   } else {
    6807           0 :     id_ = NULL;
    6808             :   }
    6809           0 :   state_ = from.state_;
    6810             :   // @@protoc_insertion_point(copy_constructor:rpc.img.Toggle)
    6811           0 : }
    6812             : 
    6813          11 : void Toggle::SharedCtor() {
    6814          11 :   ::memset(&id_, 0, static_cast<size_t>(
    6815             :       reinterpret_cast<char*>(&state_) -
    6816             :       reinterpret_cast<char*>(&id_)) + sizeof(state_));
    6817          11 : }
    6818             : 
    6819           0 : Toggle::~Toggle() {
    6820             :   // @@protoc_insertion_point(destructor:rpc.img.Toggle)
    6821           0 :   SharedDtor();
    6822           0 : }
    6823             : 
    6824           0 : void Toggle::SharedDtor() {
    6825           0 :   if (this != internal_default_instance()) delete id_;
    6826           0 : }
    6827             : 
    6828           0 : void Toggle::SetCachedSize(int size) const {
    6829           0 :   _cached_size_.Set(size);
    6830           0 : }
    6831           0 : const ::google::protobuf::Descriptor* Toggle::descriptor() {
    6832           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    6833           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    6834             : }
    6835             : 
    6836           0 : const Toggle& Toggle::default_instance() {
    6837           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_Toggle.base);
    6838           0 :   return *internal_default_instance();
    6839             : }
    6840             : 
    6841             : 
    6842           0 : void Toggle::Clear() {
    6843             : // @@protoc_insertion_point(message_clear_start:rpc.img.Toggle)
    6844           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6845             :   // Prevent compiler warnings about cached_has_bits being unused
    6846             :   (void) cached_has_bits;
    6847             : 
    6848           0 :   if (GetArenaNoVirtual() == NULL && id_ != NULL) {
    6849           0 :     delete id_;
    6850             :   }
    6851           0 :   id_ = NULL;
    6852           0 :   state_ = false;
    6853           0 :   _internal_metadata_.Clear();
    6854           0 : }
    6855             : 
    6856           0 : bool Toggle::MergePartialFromCodedStream(
    6857             :     ::google::protobuf::io::CodedInputStream* input) {
    6858             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    6859             :   ::google::protobuf::uint32 tag;
    6860             :   // @@protoc_insertion_point(parse_start:rpc.img.Toggle)
    6861             :   for (;;) {
    6862             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    6863           0 :     tag = p.first;
    6864           0 :     if (!p.second) goto handle_unusual;
    6865           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    6866             :       // .rpc.img.Id id = 1;
    6867           0 :       case 1: {
    6868           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6869             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    6870           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    6871             :                input, mutable_id()));
    6872             :         } else {
    6873           0 :           goto handle_unusual;
    6874             :         }
    6875           0 :         break;
    6876             :       }
    6877             : 
    6878             :       // bool state = 2;
    6879           0 :       case 2: {
    6880           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    6881             :             static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
    6882             : 
    6883           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    6884             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
    6885             :                  input, &state_)));
    6886             :         } else {
    6887           0 :           goto handle_unusual;
    6888             :         }
    6889           0 :         break;
    6890             :       }
    6891             : 
    6892             :       default: {
    6893           0 :       handle_unusual:
    6894           0 :         if (tag == 0) {
    6895           0 :           goto success;
    6896             :         }
    6897           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    6898             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    6899           0 :         break;
    6900             :       }
    6901             :     }
    6902           0 :   }
    6903           0 : success:
    6904             :   // @@protoc_insertion_point(parse_success:rpc.img.Toggle)
    6905           0 :   return true;
    6906           0 : failure:
    6907             :   // @@protoc_insertion_point(parse_failure:rpc.img.Toggle)
    6908           0 :   return false;
    6909             : #undef DO_
    6910             : }
    6911             : 
    6912           0 : void Toggle::SerializeWithCachedSizes(
    6913             :     ::google::protobuf::io::CodedOutputStream* output) const {
    6914             :   // @@protoc_insertion_point(serialize_start:rpc.img.Toggle)
    6915           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6916             :   (void) cached_has_bits;
    6917             : 
    6918             :   // .rpc.img.Id id = 1;
    6919           0 :   if (this->has_id()) {
    6920           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    6921           0 :       1, this->_internal_id(), output);
    6922             :   }
    6923             : 
    6924             :   // bool state = 2;
    6925           0 :   if (this->state() != 0) {
    6926           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->state(), output);
    6927             :   }
    6928             : 
    6929           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6930           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    6931           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    6932             :   }
    6933             :   // @@protoc_insertion_point(serialize_end:rpc.img.Toggle)
    6934           0 : }
    6935             : 
    6936           0 : ::google::protobuf::uint8* Toggle::InternalSerializeWithCachedSizesToArray(
    6937             :     bool deterministic, ::google::protobuf::uint8* target) const {
    6938             :   (void)deterministic; // Unused
    6939             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.Toggle)
    6940           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    6941             :   (void) cached_has_bits;
    6942             : 
    6943             :   // .rpc.img.Id id = 1;
    6944           0 :   if (this->has_id()) {
    6945             :     target = ::google::protobuf::internal::WireFormatLite::
    6946           0 :       InternalWriteMessageToArray(
    6947             :         1, this->_internal_id(), deterministic, target);
    6948             :   }
    6949             : 
    6950             :   // bool state = 2;
    6951           0 :   if (this->state() != 0) {
    6952           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->state(), target);
    6953             :   }
    6954             : 
    6955           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6956           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    6957           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    6958             :   }
    6959             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.Toggle)
    6960           0 :   return target;
    6961             : }
    6962             : 
    6963           0 : size_t Toggle::ByteSizeLong() const {
    6964             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.Toggle)
    6965           0 :   size_t total_size = 0;
    6966             : 
    6967           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    6968           0 :     total_size +=
    6969           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    6970           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    6971             :   }
    6972             :   // .rpc.img.Id id = 1;
    6973           0 :   if (this->has_id()) {
    6974           0 :     total_size += 1 +
    6975           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    6976           0 :         *id_);
    6977             :   }
    6978             : 
    6979             :   // bool state = 2;
    6980           0 :   if (this->state() != 0) {
    6981           0 :     total_size += 1 + 1;
    6982             :   }
    6983             : 
    6984           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    6985           0 :   SetCachedSize(cached_size);
    6986           0 :   return total_size;
    6987             : }
    6988             : 
    6989           0 : void Toggle::MergeFrom(const ::google::protobuf::Message& from) {
    6990             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.Toggle)
    6991           0 :   GOOGLE_DCHECK_NE(&from, this);
    6992             :   const Toggle* source =
    6993           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const Toggle>(
    6994             :           &from);
    6995           0 :   if (source == NULL) {
    6996             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.Toggle)
    6997           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    6998             :   } else {
    6999             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.Toggle)
    7000           0 :     MergeFrom(*source);
    7001             :   }
    7002           0 : }
    7003             : 
    7004           0 : void Toggle::MergeFrom(const Toggle& from) {
    7005             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.Toggle)
    7006           0 :   GOOGLE_DCHECK_NE(&from, this);
    7007           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    7008           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7009             :   (void) cached_has_bits;
    7010             : 
    7011           0 :   if (from.has_id()) {
    7012           0 :     mutable_id()->::rpc::img::Id::MergeFrom(from.id());
    7013             :   }
    7014           0 :   if (from.state() != 0) {
    7015           0 :     set_state(from.state());
    7016             :   }
    7017           0 : }
    7018             : 
    7019           0 : void Toggle::CopyFrom(const ::google::protobuf::Message& from) {
    7020             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.Toggle)
    7021           0 :   if (&from == this) return;
    7022           0 :   Clear();
    7023           0 :   MergeFrom(from);
    7024             : }
    7025             : 
    7026           0 : void Toggle::CopyFrom(const Toggle& from) {
    7027             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.Toggle)
    7028           0 :   if (&from == this) return;
    7029           0 :   Clear();
    7030           0 :   MergeFrom(from);
    7031             : }
    7032             : 
    7033           0 : bool Toggle::IsInitialized() const {
    7034           0 :   return true;
    7035             : }
    7036             : 
    7037           0 : void Toggle::Swap(Toggle* other) {
    7038           0 :   if (other == this) return;
    7039           0 :   InternalSwap(other);
    7040             : }
    7041           0 : void Toggle::InternalSwap(Toggle* other) {
    7042             :   using std::swap;
    7043           0 :   swap(id_, other->id_);
    7044           0 :   swap(state_, other->state_);
    7045           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    7046           0 : }
    7047             : 
    7048           0 : ::google::protobuf::Metadata Toggle::GetMetadata() const {
    7049           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    7050           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    7051             : }
    7052             : 
    7053             : 
    7054             : // ===================================================================
    7055             : 
    7056          11 : void InteractiveMaskOptions::InitAsDefaultInstance() {
    7057          11 :   ::rpc::img::_InteractiveMaskOptions_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::img::Id*>(
    7058          11 :       ::rpc::img::Id::internal_default_instance());
    7059          11 : }
    7060             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    7061             : const int InteractiveMaskOptions::kPanelFieldNumber;
    7062             : const int InteractiveMaskOptions::kNiterFieldNumber;
    7063             : const int InteractiveMaskOptions::kCycleniterFieldNumber;
    7064             : const int InteractiveMaskOptions::kThresholdFieldNumber;
    7065             : const int InteractiveMaskOptions::kCyclethresholdFieldNumber;
    7066             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    7067             : 
    7068          11 : InteractiveMaskOptions::InteractiveMaskOptions()
    7069          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    7070          11 :   ::google::protobuf::internal::InitSCC(
    7071             :       &protobuf_img_2eproto::scc_info_InteractiveMaskOptions.base);
    7072          11 :   SharedCtor();
    7073             :   // @@protoc_insertion_point(constructor:rpc.img.InteractiveMaskOptions)
    7074          11 : }
    7075           0 : InteractiveMaskOptions::InteractiveMaskOptions(const InteractiveMaskOptions& from)
    7076             :   : ::google::protobuf::Message(),
    7077           0 :       _internal_metadata_(NULL) {
    7078           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    7079           0 :   threshold_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7080           0 :   if (from.threshold().size() > 0) {
    7081           0 :     threshold_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.threshold_);
    7082             :   }
    7083           0 :   cyclethreshold_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7084           0 :   if (from.cyclethreshold().size() > 0) {
    7085           0 :     cyclethreshold_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cyclethreshold_);
    7086             :   }
    7087           0 :   if (from.has_panel()) {
    7088           0 :     panel_ = new ::rpc::img::Id(*from.panel_);
    7089             :   } else {
    7090           0 :     panel_ = NULL;
    7091             :   }
    7092           0 :   ::memcpy(&niter_, &from.niter_,
    7093             :     static_cast<size_t>(reinterpret_cast<char*>(&cycleniter_) -
    7094             :     reinterpret_cast<char*>(&niter_)) + sizeof(cycleniter_));
    7095             :   // @@protoc_insertion_point(copy_constructor:rpc.img.InteractiveMaskOptions)
    7096           0 : }
    7097             : 
    7098          11 : void InteractiveMaskOptions::SharedCtor() {
    7099          11 :   threshold_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7100          11 :   cyclethreshold_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7101          11 :   ::memset(&panel_, 0, static_cast<size_t>(
    7102             :       reinterpret_cast<char*>(&cycleniter_) -
    7103             :       reinterpret_cast<char*>(&panel_)) + sizeof(cycleniter_));
    7104          11 : }
    7105             : 
    7106           0 : InteractiveMaskOptions::~InteractiveMaskOptions() {
    7107             :   // @@protoc_insertion_point(destructor:rpc.img.InteractiveMaskOptions)
    7108           0 :   SharedDtor();
    7109           0 : }
    7110             : 
    7111           0 : void InteractiveMaskOptions::SharedDtor() {
    7112           0 :   threshold_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7113           0 :   cyclethreshold_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7114           0 :   if (this != internal_default_instance()) delete panel_;
    7115           0 : }
    7116             : 
    7117           0 : void InteractiveMaskOptions::SetCachedSize(int size) const {
    7118           0 :   _cached_size_.Set(size);
    7119           0 : }
    7120           0 : const ::google::protobuf::Descriptor* InteractiveMaskOptions::descriptor() {
    7121           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    7122           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    7123             : }
    7124             : 
    7125           0 : const InteractiveMaskOptions& InteractiveMaskOptions::default_instance() {
    7126           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_InteractiveMaskOptions.base);
    7127           0 :   return *internal_default_instance();
    7128             : }
    7129             : 
    7130             : 
    7131           0 : void InteractiveMaskOptions::Clear() {
    7132             : // @@protoc_insertion_point(message_clear_start:rpc.img.InteractiveMaskOptions)
    7133           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7134             :   // Prevent compiler warnings about cached_has_bits being unused
    7135             :   (void) cached_has_bits;
    7136             : 
    7137           0 :   threshold_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7138           0 :   cyclethreshold_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7139           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    7140           0 :     delete panel_;
    7141             :   }
    7142           0 :   panel_ = NULL;
    7143           0 :   ::memset(&niter_, 0, static_cast<size_t>(
    7144             :       reinterpret_cast<char*>(&cycleniter_) -
    7145             :       reinterpret_cast<char*>(&niter_)) + sizeof(cycleniter_));
    7146           0 :   _internal_metadata_.Clear();
    7147           0 : }
    7148             : 
    7149           0 : bool InteractiveMaskOptions::MergePartialFromCodedStream(
    7150             :     ::google::protobuf::io::CodedInputStream* input) {
    7151             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    7152             :   ::google::protobuf::uint32 tag;
    7153             :   // @@protoc_insertion_point(parse_start:rpc.img.InteractiveMaskOptions)
    7154             :   for (;;) {
    7155             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    7156           0 :     tag = p.first;
    7157           0 :     if (!p.second) goto handle_unusual;
    7158           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    7159             :       // .rpc.img.Id panel = 1;
    7160           0 :       case 1: {
    7161           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7162             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    7163           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    7164             :                input, mutable_panel()));
    7165             :         } else {
    7166           0 :           goto handle_unusual;
    7167             :         }
    7168           0 :         break;
    7169             :       }
    7170             : 
    7171             :       // int32 niter = 2;
    7172           0 :       case 2: {
    7173           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7174             :             static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
    7175             : 
    7176           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    7177             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
    7178             :                  input, &niter_)));
    7179             :         } else {
    7180           0 :           goto handle_unusual;
    7181             :         }
    7182           0 :         break;
    7183             :       }
    7184             : 
    7185             :       // int32 cycleniter = 3;
    7186           0 :       case 3: {
    7187           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7188             :             static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
    7189             : 
    7190           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    7191             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
    7192             :                  input, &cycleniter_)));
    7193             :         } else {
    7194           0 :           goto handle_unusual;
    7195             :         }
    7196           0 :         break;
    7197             :       }
    7198             : 
    7199             :       // string threshold = 4;
    7200           0 :       case 4: {
    7201           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7202             :             static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
    7203           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    7204             :                 input, this->mutable_threshold()));
    7205           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7206             :             this->threshold().data(), static_cast<int>(this->threshold().length()),
    7207             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    7208             :             "rpc.img.InteractiveMaskOptions.threshold"));
    7209             :         } else {
    7210           0 :           goto handle_unusual;
    7211             :         }
    7212           0 :         break;
    7213             :       }
    7214             : 
    7215             :       // string cyclethreshold = 5;
    7216           0 :       case 5: {
    7217           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7218             :             static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
    7219           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    7220             :                 input, this->mutable_cyclethreshold()));
    7221           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7222             :             this->cyclethreshold().data(), static_cast<int>(this->cyclethreshold().length()),
    7223             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    7224             :             "rpc.img.InteractiveMaskOptions.cyclethreshold"));
    7225             :         } else {
    7226           0 :           goto handle_unusual;
    7227             :         }
    7228           0 :         break;
    7229             :       }
    7230             : 
    7231             :       default: {
    7232           0 :       handle_unusual:
    7233           0 :         if (tag == 0) {
    7234           0 :           goto success;
    7235             :         }
    7236           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    7237             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    7238           0 :         break;
    7239             :       }
    7240             :     }
    7241           0 :   }
    7242           0 : success:
    7243             :   // @@protoc_insertion_point(parse_success:rpc.img.InteractiveMaskOptions)
    7244           0 :   return true;
    7245           0 : failure:
    7246             :   // @@protoc_insertion_point(parse_failure:rpc.img.InteractiveMaskOptions)
    7247           0 :   return false;
    7248             : #undef DO_
    7249             : }
    7250             : 
    7251           0 : void InteractiveMaskOptions::SerializeWithCachedSizes(
    7252             :     ::google::protobuf::io::CodedOutputStream* output) const {
    7253             :   // @@protoc_insertion_point(serialize_start:rpc.img.InteractiveMaskOptions)
    7254           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7255             :   (void) cached_has_bits;
    7256             : 
    7257             :   // .rpc.img.Id panel = 1;
    7258           0 :   if (this->has_panel()) {
    7259           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    7260           0 :       1, this->_internal_panel(), output);
    7261             :   }
    7262             : 
    7263             :   // int32 niter = 2;
    7264           0 :   if (this->niter() != 0) {
    7265           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->niter(), output);
    7266             :   }
    7267             : 
    7268             :   // int32 cycleniter = 3;
    7269           0 :   if (this->cycleniter() != 0) {
    7270           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->cycleniter(), output);
    7271             :   }
    7272             : 
    7273             :   // string threshold = 4;
    7274           0 :   if (this->threshold().size() > 0) {
    7275           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7276           0 :       this->threshold().data(), static_cast<int>(this->threshold().length()),
    7277             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    7278             :       "rpc.img.InteractiveMaskOptions.threshold");
    7279           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    7280             :       4, this->threshold(), output);
    7281             :   }
    7282             : 
    7283             :   // string cyclethreshold = 5;
    7284           0 :   if (this->cyclethreshold().size() > 0) {
    7285           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7286           0 :       this->cyclethreshold().data(), static_cast<int>(this->cyclethreshold().length()),
    7287             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    7288             :       "rpc.img.InteractiveMaskOptions.cyclethreshold");
    7289           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    7290             :       5, this->cyclethreshold(), output);
    7291             :   }
    7292             : 
    7293           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    7294           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    7295           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    7296             :   }
    7297             :   // @@protoc_insertion_point(serialize_end:rpc.img.InteractiveMaskOptions)
    7298           0 : }
    7299             : 
    7300           0 : ::google::protobuf::uint8* InteractiveMaskOptions::InternalSerializeWithCachedSizesToArray(
    7301             :     bool deterministic, ::google::protobuf::uint8* target) const {
    7302             :   (void)deterministic; // Unused
    7303             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.InteractiveMaskOptions)
    7304           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7305             :   (void) cached_has_bits;
    7306             : 
    7307             :   // .rpc.img.Id panel = 1;
    7308           0 :   if (this->has_panel()) {
    7309             :     target = ::google::protobuf::internal::WireFormatLite::
    7310           0 :       InternalWriteMessageToArray(
    7311             :         1, this->_internal_panel(), deterministic, target);
    7312             :   }
    7313             : 
    7314             :   // int32 niter = 2;
    7315           0 :   if (this->niter() != 0) {
    7316           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->niter(), target);
    7317             :   }
    7318             : 
    7319             :   // int32 cycleniter = 3;
    7320           0 :   if (this->cycleniter() != 0) {
    7321           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->cycleniter(), target);
    7322             :   }
    7323             : 
    7324             :   // string threshold = 4;
    7325           0 :   if (this->threshold().size() > 0) {
    7326           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7327           0 :       this->threshold().data(), static_cast<int>(this->threshold().length()),
    7328             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    7329             :       "rpc.img.InteractiveMaskOptions.threshold");
    7330             :     target =
    7331           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    7332             :         4, this->threshold(), target);
    7333             :   }
    7334             : 
    7335             :   // string cyclethreshold = 5;
    7336           0 :   if (this->cyclethreshold().size() > 0) {
    7337           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7338           0 :       this->cyclethreshold().data(), static_cast<int>(this->cyclethreshold().length()),
    7339             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    7340             :       "rpc.img.InteractiveMaskOptions.cyclethreshold");
    7341             :     target =
    7342           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    7343             :         5, this->cyclethreshold(), target);
    7344             :   }
    7345             : 
    7346           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    7347           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    7348           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    7349             :   }
    7350             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.InteractiveMaskOptions)
    7351           0 :   return target;
    7352             : }
    7353             : 
    7354           0 : size_t InteractiveMaskOptions::ByteSizeLong() const {
    7355             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.InteractiveMaskOptions)
    7356           0 :   size_t total_size = 0;
    7357             : 
    7358           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    7359           0 :     total_size +=
    7360           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    7361           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    7362             :   }
    7363             :   // string threshold = 4;
    7364           0 :   if (this->threshold().size() > 0) {
    7365           0 :     total_size += 1 +
    7366           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    7367             :         this->threshold());
    7368             :   }
    7369             : 
    7370             :   // string cyclethreshold = 5;
    7371           0 :   if (this->cyclethreshold().size() > 0) {
    7372           0 :     total_size += 1 +
    7373           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    7374             :         this->cyclethreshold());
    7375             :   }
    7376             : 
    7377             :   // .rpc.img.Id panel = 1;
    7378           0 :   if (this->has_panel()) {
    7379           0 :     total_size += 1 +
    7380           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    7381           0 :         *panel_);
    7382             :   }
    7383             : 
    7384             :   // int32 niter = 2;
    7385           0 :   if (this->niter() != 0) {
    7386           0 :     total_size += 1 +
    7387           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
    7388             :         this->niter());
    7389             :   }
    7390             : 
    7391             :   // int32 cycleniter = 3;
    7392           0 :   if (this->cycleniter() != 0) {
    7393           0 :     total_size += 1 +
    7394           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
    7395             :         this->cycleniter());
    7396             :   }
    7397             : 
    7398           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    7399           0 :   SetCachedSize(cached_size);
    7400           0 :   return total_size;
    7401             : }
    7402             : 
    7403           0 : void InteractiveMaskOptions::MergeFrom(const ::google::protobuf::Message& from) {
    7404             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.InteractiveMaskOptions)
    7405           0 :   GOOGLE_DCHECK_NE(&from, this);
    7406             :   const InteractiveMaskOptions* source =
    7407           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const InteractiveMaskOptions>(
    7408             :           &from);
    7409           0 :   if (source == NULL) {
    7410             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.InteractiveMaskOptions)
    7411           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    7412             :   } else {
    7413             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.InteractiveMaskOptions)
    7414           0 :     MergeFrom(*source);
    7415             :   }
    7416           0 : }
    7417             : 
    7418           0 : void InteractiveMaskOptions::MergeFrom(const InteractiveMaskOptions& from) {
    7419             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.InteractiveMaskOptions)
    7420           0 :   GOOGLE_DCHECK_NE(&from, this);
    7421           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    7422           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7423             :   (void) cached_has_bits;
    7424             : 
    7425           0 :   if (from.threshold().size() > 0) {
    7426             : 
    7427           0 :     threshold_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.threshold_);
    7428             :   }
    7429           0 :   if (from.cyclethreshold().size() > 0) {
    7430             : 
    7431           0 :     cyclethreshold_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cyclethreshold_);
    7432             :   }
    7433           0 :   if (from.has_panel()) {
    7434           0 :     mutable_panel()->::rpc::img::Id::MergeFrom(from.panel());
    7435             :   }
    7436           0 :   if (from.niter() != 0) {
    7437           0 :     set_niter(from.niter());
    7438             :   }
    7439           0 :   if (from.cycleniter() != 0) {
    7440           0 :     set_cycleniter(from.cycleniter());
    7441             :   }
    7442           0 : }
    7443             : 
    7444           0 : void InteractiveMaskOptions::CopyFrom(const ::google::protobuf::Message& from) {
    7445             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.InteractiveMaskOptions)
    7446           0 :   if (&from == this) return;
    7447           0 :   Clear();
    7448           0 :   MergeFrom(from);
    7449             : }
    7450             : 
    7451           0 : void InteractiveMaskOptions::CopyFrom(const InteractiveMaskOptions& from) {
    7452             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.InteractiveMaskOptions)
    7453           0 :   if (&from == this) return;
    7454           0 :   Clear();
    7455           0 :   MergeFrom(from);
    7456             : }
    7457             : 
    7458           0 : bool InteractiveMaskOptions::IsInitialized() const {
    7459           0 :   return true;
    7460             : }
    7461             : 
    7462           0 : void InteractiveMaskOptions::Swap(InteractiveMaskOptions* other) {
    7463           0 :   if (other == this) return;
    7464           0 :   InternalSwap(other);
    7465             : }
    7466           0 : void InteractiveMaskOptions::InternalSwap(InteractiveMaskOptions* other) {
    7467             :   using std::swap;
    7468           0 :   threshold_.Swap(&other->threshold_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    7469             :     GetArenaNoVirtual());
    7470           0 :   cyclethreshold_.Swap(&other->cyclethreshold_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    7471             :     GetArenaNoVirtual());
    7472           0 :   swap(panel_, other->panel_);
    7473           0 :   swap(niter_, other->niter_);
    7474           0 :   swap(cycleniter_, other->cycleniter_);
    7475           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    7476           0 : }
    7477             : 
    7478           0 : ::google::protobuf::Metadata InteractiveMaskOptions::GetMetadata() const {
    7479           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    7480           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    7481             : }
    7482             : 
    7483             : 
    7484             : // ===================================================================
    7485             : 
    7486          11 : void InteractiveMaskResult::InitAsDefaultInstance() {
    7487          11 :   ::rpc::img::_InteractiveMaskResult_default_instance_._instance.get_mutable()->state_ = const_cast< ::rpc::img::InteractiveMaskOptions*>(
    7488          11 :       ::rpc::img::InteractiveMaskOptions::internal_default_instance());
    7489          11 : }
    7490             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    7491             : const int InteractiveMaskResult::kActionFieldNumber;
    7492             : const int InteractiveMaskResult::kStateFieldNumber;
    7493             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    7494             : 
    7495          11 : InteractiveMaskResult::InteractiveMaskResult()
    7496          11 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    7497          11 :   ::google::protobuf::internal::InitSCC(
    7498             :       &protobuf_img_2eproto::scc_info_InteractiveMaskResult.base);
    7499          11 :   SharedCtor();
    7500             :   // @@protoc_insertion_point(constructor:rpc.img.InteractiveMaskResult)
    7501          11 : }
    7502           0 : InteractiveMaskResult::InteractiveMaskResult(const InteractiveMaskResult& from)
    7503             :   : ::google::protobuf::Message(),
    7504           0 :       _internal_metadata_(NULL) {
    7505           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    7506           0 :   action_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7507           0 :   if (from.action().size() > 0) {
    7508           0 :     action_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.action_);
    7509             :   }
    7510           0 :   if (from.has_state()) {
    7511           0 :     state_ = new ::rpc::img::InteractiveMaskOptions(*from.state_);
    7512             :   } else {
    7513           0 :     state_ = NULL;
    7514             :   }
    7515             :   // @@protoc_insertion_point(copy_constructor:rpc.img.InteractiveMaskResult)
    7516           0 : }
    7517             : 
    7518          11 : void InteractiveMaskResult::SharedCtor() {
    7519          11 :   action_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7520          11 :   state_ = NULL;
    7521          11 : }
    7522             : 
    7523           0 : InteractiveMaskResult::~InteractiveMaskResult() {
    7524             :   // @@protoc_insertion_point(destructor:rpc.img.InteractiveMaskResult)
    7525           0 :   SharedDtor();
    7526           0 : }
    7527             : 
    7528           0 : void InteractiveMaskResult::SharedDtor() {
    7529           0 :   action_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7530           0 :   if (this != internal_default_instance()) delete state_;
    7531           0 : }
    7532             : 
    7533           0 : void InteractiveMaskResult::SetCachedSize(int size) const {
    7534           0 :   _cached_size_.Set(size);
    7535           0 : }
    7536           0 : const ::google::protobuf::Descriptor* InteractiveMaskResult::descriptor() {
    7537           0 :   ::protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    7538           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    7539             : }
    7540             : 
    7541           0 : const InteractiveMaskResult& InteractiveMaskResult::default_instance() {
    7542           0 :   ::google::protobuf::internal::InitSCC(&protobuf_img_2eproto::scc_info_InteractiveMaskResult.base);
    7543           0 :   return *internal_default_instance();
    7544             : }
    7545             : 
    7546             : 
    7547           0 : void InteractiveMaskResult::Clear() {
    7548             : // @@protoc_insertion_point(message_clear_start:rpc.img.InteractiveMaskResult)
    7549           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7550             :   // Prevent compiler warnings about cached_has_bits being unused
    7551             :   (void) cached_has_bits;
    7552             : 
    7553           0 :   action_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    7554           0 :   if (GetArenaNoVirtual() == NULL && state_ != NULL) {
    7555           0 :     delete state_;
    7556             :   }
    7557           0 :   state_ = NULL;
    7558           0 :   _internal_metadata_.Clear();
    7559           0 : }
    7560             : 
    7561           0 : bool InteractiveMaskResult::MergePartialFromCodedStream(
    7562             :     ::google::protobuf::io::CodedInputStream* input) {
    7563             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    7564             :   ::google::protobuf::uint32 tag;
    7565             :   // @@protoc_insertion_point(parse_start:rpc.img.InteractiveMaskResult)
    7566             :   for (;;) {
    7567             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    7568           0 :     tag = p.first;
    7569           0 :     if (!p.second) goto handle_unusual;
    7570           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    7571             :       // string action = 1;
    7572           0 :       case 1: {
    7573           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7574             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    7575           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    7576             :                 input, this->mutable_action()));
    7577           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7578             :             this->action().data(), static_cast<int>(this->action().length()),
    7579             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    7580             :             "rpc.img.InteractiveMaskResult.action"));
    7581             :         } else {
    7582           0 :           goto handle_unusual;
    7583             :         }
    7584           0 :         break;
    7585             :       }
    7586             : 
    7587             :       // .rpc.img.InteractiveMaskOptions state = 2;
    7588           0 :       case 2: {
    7589           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    7590             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    7591           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    7592             :                input, mutable_state()));
    7593             :         } else {
    7594           0 :           goto handle_unusual;
    7595             :         }
    7596           0 :         break;
    7597             :       }
    7598             : 
    7599             :       default: {
    7600           0 :       handle_unusual:
    7601           0 :         if (tag == 0) {
    7602           0 :           goto success;
    7603             :         }
    7604           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    7605             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    7606           0 :         break;
    7607             :       }
    7608             :     }
    7609           0 :   }
    7610           0 : success:
    7611             :   // @@protoc_insertion_point(parse_success:rpc.img.InteractiveMaskResult)
    7612           0 :   return true;
    7613           0 : failure:
    7614             :   // @@protoc_insertion_point(parse_failure:rpc.img.InteractiveMaskResult)
    7615           0 :   return false;
    7616             : #undef DO_
    7617             : }
    7618             : 
    7619           0 : void InteractiveMaskResult::SerializeWithCachedSizes(
    7620             :     ::google::protobuf::io::CodedOutputStream* output) const {
    7621             :   // @@protoc_insertion_point(serialize_start:rpc.img.InteractiveMaskResult)
    7622           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7623             :   (void) cached_has_bits;
    7624             : 
    7625             :   // string action = 1;
    7626           0 :   if (this->action().size() > 0) {
    7627           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7628           0 :       this->action().data(), static_cast<int>(this->action().length()),
    7629             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    7630             :       "rpc.img.InteractiveMaskResult.action");
    7631           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    7632             :       1, this->action(), output);
    7633             :   }
    7634             : 
    7635             :   // .rpc.img.InteractiveMaskOptions state = 2;
    7636           0 :   if (this->has_state()) {
    7637           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    7638           0 :       2, this->_internal_state(), output);
    7639             :   }
    7640             : 
    7641           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    7642           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    7643           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    7644             :   }
    7645             :   // @@protoc_insertion_point(serialize_end:rpc.img.InteractiveMaskResult)
    7646           0 : }
    7647             : 
    7648           0 : ::google::protobuf::uint8* InteractiveMaskResult::InternalSerializeWithCachedSizesToArray(
    7649             :     bool deterministic, ::google::protobuf::uint8* target) const {
    7650             :   (void)deterministic; // Unused
    7651             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.img.InteractiveMaskResult)
    7652           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7653             :   (void) cached_has_bits;
    7654             : 
    7655             :   // string action = 1;
    7656           0 :   if (this->action().size() > 0) {
    7657           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    7658           0 :       this->action().data(), static_cast<int>(this->action().length()),
    7659             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    7660             :       "rpc.img.InteractiveMaskResult.action");
    7661             :     target =
    7662           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    7663             :         1, this->action(), target);
    7664             :   }
    7665             : 
    7666             :   // .rpc.img.InteractiveMaskOptions state = 2;
    7667           0 :   if (this->has_state()) {
    7668             :     target = ::google::protobuf::internal::WireFormatLite::
    7669           0 :       InternalWriteMessageToArray(
    7670             :         2, this->_internal_state(), deterministic, target);
    7671             :   }
    7672             : 
    7673           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    7674           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    7675           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    7676             :   }
    7677             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.img.InteractiveMaskResult)
    7678           0 :   return target;
    7679             : }
    7680             : 
    7681           0 : size_t InteractiveMaskResult::ByteSizeLong() const {
    7682             : // @@protoc_insertion_point(message_byte_size_start:rpc.img.InteractiveMaskResult)
    7683           0 :   size_t total_size = 0;
    7684             : 
    7685           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    7686           0 :     total_size +=
    7687           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    7688           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    7689             :   }
    7690             :   // string action = 1;
    7691           0 :   if (this->action().size() > 0) {
    7692           0 :     total_size += 1 +
    7693           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    7694             :         this->action());
    7695             :   }
    7696             : 
    7697             :   // .rpc.img.InteractiveMaskOptions state = 2;
    7698           0 :   if (this->has_state()) {
    7699           0 :     total_size += 1 +
    7700           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    7701           0 :         *state_);
    7702             :   }
    7703             : 
    7704           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    7705           0 :   SetCachedSize(cached_size);
    7706           0 :   return total_size;
    7707             : }
    7708             : 
    7709           0 : void InteractiveMaskResult::MergeFrom(const ::google::protobuf::Message& from) {
    7710             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.img.InteractiveMaskResult)
    7711           0 :   GOOGLE_DCHECK_NE(&from, this);
    7712             :   const InteractiveMaskResult* source =
    7713           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const InteractiveMaskResult>(
    7714             :           &from);
    7715           0 :   if (source == NULL) {
    7716             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.img.InteractiveMaskResult)
    7717           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    7718             :   } else {
    7719             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.img.InteractiveMaskResult)
    7720           0 :     MergeFrom(*source);
    7721             :   }
    7722           0 : }
    7723             : 
    7724           0 : void InteractiveMaskResult::MergeFrom(const InteractiveMaskResult& from) {
    7725             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.img.InteractiveMaskResult)
    7726           0 :   GOOGLE_DCHECK_NE(&from, this);
    7727           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    7728           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    7729             :   (void) cached_has_bits;
    7730             : 
    7731           0 :   if (from.action().size() > 0) {
    7732             : 
    7733           0 :     action_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.action_);
    7734             :   }
    7735           0 :   if (from.has_state()) {
    7736           0 :     mutable_state()->::rpc::img::InteractiveMaskOptions::MergeFrom(from.state());
    7737             :   }
    7738           0 : }
    7739             : 
    7740           0 : void InteractiveMaskResult::CopyFrom(const ::google::protobuf::Message& from) {
    7741             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.img.InteractiveMaskResult)
    7742           0 :   if (&from == this) return;
    7743           0 :   Clear();
    7744           0 :   MergeFrom(from);
    7745             : }
    7746             : 
    7747           0 : void InteractiveMaskResult::CopyFrom(const InteractiveMaskResult& from) {
    7748             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.img.InteractiveMaskResult)
    7749           0 :   if (&from == this) return;
    7750           0 :   Clear();
    7751           0 :   MergeFrom(from);
    7752             : }
    7753             : 
    7754           0 : bool InteractiveMaskResult::IsInitialized() const {
    7755           0 :   return true;
    7756             : }
    7757             : 
    7758           0 : void InteractiveMaskResult::Swap(InteractiveMaskResult* other) {
    7759           0 :   if (other == this) return;
    7760           0 :   InternalSwap(other);
    7761             : }
    7762           0 : void InteractiveMaskResult::InternalSwap(InteractiveMaskResult* other) {
    7763             :   using std::swap;
    7764           0 :   action_.Swap(&other->action_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    7765             :     GetArenaNoVirtual());
    7766           0 :   swap(state_, other->state_);
    7767           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    7768           0 : }
    7769             : 
    7770           0 : ::google::protobuf::Metadata InteractiveMaskResult::GetMetadata() const {
    7771           0 :   protobuf_img_2eproto::protobuf_AssignDescriptorsOnce();
    7772           0 :   return ::protobuf_img_2eproto::file_level_metadata[kIndexInFileMessages];
    7773             : }
    7774             : 
    7775             : 
    7776             : // @@protoc_insertion_point(namespace_scope)
    7777             : }  // namespace img
    7778             : }  // namespace rpc
    7779             : namespace google {
    7780             : namespace protobuf {
    7781           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Id* Arena::CreateMaybeMessage< ::rpc::img::Id >(Arena* arena) {
    7782           0 :   return Arena::CreateInternal< ::rpc::img::Id >(arena);
    7783             : }
    7784           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::NewPanel* Arena::CreateMaybeMessage< ::rpc::img::NewPanel >(Arena* arena) {
    7785           0 :   return Arena::CreateInternal< ::rpc::img::NewPanel >(arena);
    7786             : }
    7787           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::NewData* Arena::CreateMaybeMessage< ::rpc::img::NewData >(Arena* arena) {
    7788           0 :   return Arena::CreateInternal< ::rpc::img::NewData >(arena);
    7789             : }
    7790           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::PopUp* Arena::CreateMaybeMessage< ::rpc::img::PopUp >(Arena* arena) {
    7791           0 :   return Arena::CreateInternal< ::rpc::img::PopUp >(arena);
    7792             : }
    7793           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Restore* Arena::CreateMaybeMessage< ::rpc::img::Restore >(Arena* arena) {
    7794           0 :   return Arena::CreateInternal< ::rpc::img::Restore >(arena);
    7795             : }
    7796           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::FileInfo* Arena::CreateMaybeMessage< ::rpc::img::FileInfo >(Arena* arena) {
    7797           0 :   return Arena::CreateInternal< ::rpc::img::FileInfo >(arena);
    7798             : }
    7799           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::KeyInfo* Arena::CreateMaybeMessage< ::rpc::img::KeyInfo >(Arena* arena) {
    7800           0 :   return Arena::CreateInternal< ::rpc::img::KeyInfo >(arena);
    7801             : }
    7802           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Path* Arena::CreateMaybeMessage< ::rpc::img::Path >(Arena* arena) {
    7803           0 :   return Arena::CreateInternal< ::rpc::img::Path >(arena);
    7804             : }
    7805           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Coord2D* Arena::CreateMaybeMessage< ::rpc::img::Coord2D >(Arena* arena) {
    7806           0 :   return Arena::CreateInternal< ::rpc::img::Coord2D >(arena);
    7807             : }
    7808           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Output* Arena::CreateMaybeMessage< ::rpc::img::Output >(Arena* arena) {
    7809           0 :   return Arena::CreateInternal< ::rpc::img::Output >(arena);
    7810             : }
    7811           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::SetChannel* Arena::CreateMaybeMessage< ::rpc::img::SetChannel >(Arena* arena) {
    7812           0 :   return Arena::CreateInternal< ::rpc::img::SetChannel >(arena);
    7813             : }
    7814           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::SetZoomLevel* Arena::CreateMaybeMessage< ::rpc::img::SetZoomLevel >(Arena* arena) {
    7815           0 :   return Arena::CreateInternal< ::rpc::img::SetZoomLevel >(arena);
    7816             : }
    7817           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::SetZoomBox* Arena::CreateMaybeMessage< ::rpc::img::SetZoomBox >(Arena* arena) {
    7818           0 :   return Arena::CreateInternal< ::rpc::img::SetZoomBox >(arena);
    7819             : }
    7820           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::DataRange* Arena::CreateMaybeMessage< ::rpc::img::DataRange >(Arena* arena) {
    7821           0 :   return Arena::CreateInternal< ::rpc::img::DataRange >(arena);
    7822             : }
    7823           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::ContourLevels* Arena::CreateMaybeMessage< ::rpc::img::ContourLevels >(Arena* arena) {
    7824           0 :   return Arena::CreateInternal< ::rpc::img::ContourLevels >(arena);
    7825             : }
    7826           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::ContourThickness* Arena::CreateMaybeMessage< ::rpc::img::ContourThickness >(Arena* arena) {
    7827           0 :   return Arena::CreateInternal< ::rpc::img::ContourThickness >(arena);
    7828             : }
    7829           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::ContourColor* Arena::CreateMaybeMessage< ::rpc::img::ContourColor >(Arena* arena) {
    7830           0 :   return Arena::CreateInternal< ::rpc::img::ContourColor >(arena);
    7831             : }
    7832           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Axes* Arena::CreateMaybeMessage< ::rpc::img::Axes >(Arena* arena) {
    7833           0 :   return Arena::CreateInternal< ::rpc::img::Axes >(arena);
    7834             : }
    7835           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::ColorMap* Arena::CreateMaybeMessage< ::rpc::img::ColorMap >(Arena* arena) {
    7836           0 :   return Arena::CreateInternal< ::rpc::img::ColorMap >(arena);
    7837             : }
    7838           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::Toggle* Arena::CreateMaybeMessage< ::rpc::img::Toggle >(Arena* arena) {
    7839           0 :   return Arena::CreateInternal< ::rpc::img::Toggle >(arena);
    7840             : }
    7841           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::InteractiveMaskOptions* Arena::CreateMaybeMessage< ::rpc::img::InteractiveMaskOptions >(Arena* arena) {
    7842           0 :   return Arena::CreateInternal< ::rpc::img::InteractiveMaskOptions >(arena);
    7843             : }
    7844           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::img::InteractiveMaskResult* Arena::CreateMaybeMessage< ::rpc::img::InteractiveMaskResult >(Arena* arena) {
    7845           0 :   return Arena::CreateInternal< ::rpc::img::InteractiveMaskResult >(arena);
    7846             : }
    7847             : }  // namespace protobuf
    7848             : }  // namespace google
    7849             : 
    7850             : // @@protoc_insertion_point(global_scope)

Generated by: LCOV version 1.16