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; } } } }
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); } }