public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (path_ == null) { path_ = new global::Apollo.Common.Path(); } input.ReadMessage(path_); break; } case 16: { PathPriority = input.ReadUInt32(); break; } } } }
public void MergeFrom(NavigationPath other) { if (other == null) { return; } if (other.path_ != null) { if (path_ == null) { path_ = new global::Apollo.Common.Path(); } Path.MergeFrom(other.Path); } if (other.PathPriority != 0) { PathPriority = other.PathPriority; } }