Exemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    EnableNavigatorDownsample = input.ReadBool();
                    break;
                }

                case 18: {
                    if (sampleParam_ == null)
                    {
                        sampleParam_ = new global::Apollo.RelativeMap.SampleParam();
                    }
                    input.ReadMessage(sampleParam_);
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(NavigatorConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.EnableNavigatorDownsample != false)
     {
         EnableNavigatorDownsample = other.EnableNavigatorDownsample;
     }
     if (other.sampleParam_ != null)
     {
         if (sampleParam_ == null)
         {
             sampleParam_ = new global::Apollo.RelativeMap.SampleParam();
         }
         SampleParam.MergeFrom(other.SampleParam);
     }
 }